2025-12-04 14:17:06,469 - INFO - ya.test.2825199  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:17:06,469 - INFO - ya.test.2825199  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-12-04 14:17:06,469 - INFO - ya.test.2825199  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:17:06,470 - INFO - ya.test.2825199  - pytest_runtest_setup: Test setup
2025-12-04 14:17:06,476 - INFO - ya.test.2825199  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[add-user])
2025-12-04 14:17:06,481 - DEBUG - ydb.connection.2825199  - 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-04 14:17:06,503 - DEBUG - ydb.connection.2825199  - _prepare_call: RpcState(Login, 7f426f71-1696-43ba-9e28-428b9bad398a, localhost:2019): creating call state
2025-12-04 14:17:06,503 - DEBUG - ydb.connection.2825199  - _log_request: RpcState(Login, 7f426f71-1696-43ba-9e28-428b9bad398a, localhost:2019): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 14:17:06,515 - DEBUG - ydb.connection.2825199  - _log_response: RpcState(Login, 7f426f71-1696-43ba-9e28-428b9bad398a, localhost:2019): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTAxMDI2LCJpYXQiOjE3NjQ4NTc4MjYsInN1YiI6ImRiYWRtaW4ifQ.gTMLKr2e7CjLseGgyKuIyMJOIBigUTOq59lBnQ0V7tcC8rUhk26reAm9ROdVsQqLN1F7EWKtGVE47Niz5fjOR1yYOdrkC5ZHEaaGhcJs4o5-8cajLp-3--vStguq1ajPZcS5WfH_D0eyGzwtqyNKMQmKJdgeQFO6edNpR2OSVnwkRbnyFKqmZcqLQfw0SrpCiD1F4iv19PZIOYnVpkUWv-a7MPBsGqFmonX3-3_JT1vo69VqMVbCCLaclJlFvLF5KynmClTOSbWgGnJo_URZKKpk5A2CIwG4ihaft01QrkktdkjG3OezsstIg1H14DlBj3QBDqdHhD-r0CfBDWBrVQ" } } } }
2025-12-04 14:17:06,515 - DEBUG - ydb.connection.2825199  - close: Closing channel for endpoint localhost:2019
2025-12-04 14:17:06,706 - DEBUG - ydb.connection.2825199  - 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-04 14:17:06,725 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2825199  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 14:17:06,725 - DEBUG - ydb.connection.2825199  - 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-04 14:17:06,749 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2825199  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 14:17:06,749 - DEBUG - ydb.connection.2825199  - _prepare_call: RpcState(ListEndpoints, 4943252d-382e-4b8c-8658-a3c17f4d7b55, localhost:2019): creating call state
2025-12-04 14:17:06,750 - DEBUG - ydb.connection.2825199  - _log_request: RpcState(ListEndpoints, 4943252d-382e-4b8c-8658-a3c17f4d7b55, localhost:2019): request = { database: "/Root/test_user_administration" }
2025-12-04 14:17:06,768 - DEBUG - ydb.connection.2825199  - _log_response: RpcState(ListEndpoints, 4943252d-382e-4b8c-8658-a3c17f4d7b55, localhost:2019): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-e3snp7fbzi.auto.internal" port: 11353 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-04 14:17:06,776 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2825199  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-e3snp7fbzi.auto.internal:11353, location , ssl: False>]>
2025-12-04 14:17:06,825 - DEBUG - ydb.connection.2825199  - 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-04 14:17:06,871 - DEBUG - ydb.connection.2825199  - close: Closing channel for endpoint localhost:2019
2025-12-04 14:17:06,884 - DEBUG - ydb.table.SessionPool.2825199  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-04 14:17:06,888 - DEBUG - ydb.table.SessionPool.2825199  - subscribe: Subscribe waiter <Future at 0x7f1d86725690 state=pending>
2025-12-04 14:17:06,889 - DEBUG - ydb.table.SessionPool.2825199  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-04 14:17:06,890 - DEBUG - ydb.table.SessionPool.2825199  - _create: Created session <ydb.table.Session object at 0x7f1d86daa4f0>
2025-12-04 14:17:06,891 - DEBUG - ydb.table.SessionPool.2825199  - _prepare: Preparing session <ydb.table.Session object at 0x7f1d86daa4f0>
2025-12-04 14:17:06,892 - DEBUG - ydb.connection.2825199  - _prepare_call: RpcState(CreateSession, 199a369d-abfc-48fd-a9c1-61e390d7184c, ghrun-e3snp7fbzi.auto.internal:11353): creating call state
2025-12-04 14:17:06,892 - DEBUG - ydb.connection.2825199  - _log_request: RpcState(CreateSession, 199a369d-abfc-48fd-a9c1-61e390d7184c, ghrun-e3snp7fbzi.auto.internal:11353): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-04 14:17:06,901 - DEBUG - ydb.connection.2825199  - _on_response_callback: RpcState(CreateSession, 199a369d-abfc-48fd-a9c1-61e390d7184c, ghrun-e3snp7fbzi.auto.internal:11353): on response callback started
2025-12-04 14:17:06,902 - DEBUG - ydb.connection.2825199  - _log_response: RpcState(CreateSession, 199a369d-abfc-48fd-a9c1-61e390d7184c, ghrun-e3snp7fbzi.auto.internal:11353): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzNkMmE3ODAtNGQzZGU2NzItM2FkYzcwNzctMTQ0NWJhZGI=" } } } }
2025-12-04 14:17:06,903 - DEBUG - ydb.connection.2825199  - _on_response_callback: RpcState(CreateSession, 199a369d-abfc-48fd-a9c1-61e390d7184c, ghrun-e3snp7fbzi.auto.internal:11353): on response callback success
2025-12-04 14:17:06,903 - DEBUG - ydb.table.SessionPool.2825199  - put: Put on session <ydb.table.Session object at 0x7f1d86daa4f0>
2025-12-04 14:17:06,903 - DEBUG - ydb.table.SessionPool.2825199  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1d86daa4f0>
2025-12-04 14:17:06,904 - DEBUG - ydb.connection.2825199  - _prepare_call: RpcState(ExecuteSchemeQuery, b665dd36-c638-40d1-b3d3-f351ae08654a, ghrun-e3snp7fbzi.auto.internal:11353): creating call state
2025-12-04 14:17:06,904 - DEBUG - ydb.connection.2825199  - _log_request: RpcState(ExecuteSchemeQuery, b665dd36-c638-40d1-b3d3-f351ae08654a, ghrun-e3snp7fbzi.auto.internal:11353): request = { session_id: "ydb://session/3?node_id=50000&id=NzNkMmE3ODAtNGQzZGU2NzItM2FkYzcwNzctMTQ0NWJhZGI=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-04 14:17:06,919 - DEBUG - ydb.connection.2825199  - _log_response: RpcState(ExecuteSchemeQuery, b665dd36-c638-40d1-b3d3-f351ae08654a, ghrun-e3snp7fbzi.auto.internal:11353): 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-04 14:17:06,951 - DEBUG - ydb.table.SessionPool.2825199  - put: Put on session <ydb.table.Session object at 0x7f1d86daa4f0>
2025-12-04 14:17:06,973 - DEBUG - ydb.topic.2825199  - close: Close topic client
2025-12-04 14:17:07,007 - DEBUG - ydb.topic.2825199  - close: Topic client was closed
2025-12-04 14:17:07,007 - DEBUG - ydb.connection.2825199  - close: Closing channel for endpoint localhost:2019
2025-12-04 14:17:07,010 - DEBUG - ydb.connection.2825199  - close: Closing channel for endpoint ghrun-e3snp7fbzi.auto.internal:11353
2025-12-04 14:17:07,078 - INFO - ydb.pool.Discovery.2825199  - run: Successfully terminated discovery process
2025-12-04 14:17:07,080 - INFO - ya.test.2825199  - pytest_runtest_teardown: Test teardown
