2025-11-06 09:56:50,727 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 09:56:50,728 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-11-06 09:56:50,728 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 09:56:50,729 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-06 09:56:50,730 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[block])
2025-11-06 09:56:50,731 - 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-11-06 09:56:50,745 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 6cfde9d5-945d-4b1b-8f79-77dae223da69, localhost:11265): creating call state
2025-11-06 09:56:50,746 - DEBUG - ydb.connection - _log_request: RpcState(Login, 6cfde9d5-945d-4b1b-8f79-77dae223da69, localhost:11265): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-06 09:56:50,756 - DEBUG - ydb.connection - _log_response: RpcState(Login, 6cfde9d5-945d-4b1b-8f79-77dae223da69, localhost:11265): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyNDY2MjEwLCJpYXQiOjE3NjI0MjMwMTAsInN1YiI6ImRiYWRtaW4ifQ.MoMEocFgK5CsoXypF2hW6DpK32SaaNgkpLgWhxkFN-ebE8cgNBuIQEV0EZc3Jnha41RBwcdJ-Y_mJifFfZynH-HfI6--oa28CW-JK38fZn9ub2K0ajsP8BcnbwDm3Q7DjWp0pJrDUmSaQ4Qn9qk2Zs7xzWPHoYyYLU5ujJiJt22izynxL_tSggS6lx6Gby67AKbZF0WdU8w4kIwxH_yE42ioYzFFDmHfTWAlJfHN93w218fvmVNv8XB-ODbsoh5tL3JdcS1N9uf2LiTsgJStGdcNvm_XYqvLTlr4T8iq5hzQ0SUl03cqs3vf7qJwmPiTi-HaHjdULhgn4kvlvRFLyQ" } } } }
2025-11-06 09:56:50,757 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11265
2025-11-06 09:56:50,947 - 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-11-06 09:56:50,955 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-06 09:56:50,966 - 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-11-06 09:56:50,975 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-06 09:56:50,976 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, bbf7a178-bd30-40a9-a3c7-59801df2c63b, localhost:11265): creating call state
2025-11-06 09:56:50,976 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, bbf7a178-bd30-40a9-a3c7-59801df2c63b, localhost:11265): request = { database: "/Root/test_user_administration" }
2025-11-06 09:56:50,979 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, bbf7a178-bd30-40a9-a3c7-59801df2c63b, localhost:11265): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-ar5i2wnyyy.auto.internal" port: 19416 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-11-06 09:56:50,979 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-ar5i2wnyyy.auto.internal:19416, location , ssl: False>]>
2025-11-06 09:56:50,980 - 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-11-06 09:56:50,986 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11265
2025-11-06 09:56:51,000 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-06 09:56:51,001 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f280dead960 state=pending>
2025-11-06 09:56:51,001 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-06 09:56:51,001 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f280dead000>
2025-11-06 09:56:51,001 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f280dead000>
2025-11-06 09:56:51,002 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, bf619582-6065-4da7-bc78-93713464120b, ghrun-ar5i2wnyyy.auto.internal:19416): creating call state
2025-11-06 09:56:51,002 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, bf619582-6065-4da7-bc78-93713464120b, ghrun-ar5i2wnyyy.auto.internal:19416): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-06 09:56:51,008 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, bf619582-6065-4da7-bc78-93713464120b, ghrun-ar5i2wnyyy.auto.internal:19416): on response callback started
2025-11-06 09:56:51,009 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, bf619582-6065-4da7-bc78-93713464120b, ghrun-ar5i2wnyyy.auto.internal:19416): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZWU3OGIzMDctZGQwOGE3OTAtMmE4NjgyYmMtN2JiZDYxYg==" } } } }
2025-11-06 09:56:51,010 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f280dead000>
2025-11-06 09:56:51,010 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f280dead000>
2025-11-06 09:56:51,010 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, bf619582-6065-4da7-bc78-93713464120b, ghrun-ar5i2wnyyy.auto.internal:19416): on response callback success
2025-11-06 09:56:51,011 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 2c6e5869-6684-41ec-9c6e-53fc216200d0, ghrun-ar5i2wnyyy.auto.internal:19416): creating call state
2025-11-06 09:56:51,011 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 2c6e5869-6684-41ec-9c6e-53fc216200d0, ghrun-ar5i2wnyyy.auto.internal:19416): request = { session_id: "ydb://session/3?node_id=50000&id=ZWU3OGIzMDctZGQwOGE3OTAtMmE4NjgyYmMtN2JiZDYxYg==" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-06 09:56:51,039 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 2c6e5869-6684-41ec-9c6e-53fc216200d0, ghrun-ar5i2wnyyy.auto.internal:19416): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" 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-11-06 09:56:51,040 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f280dead000>
2025-11-06 09:56:51,040 - DEBUG - __tests__.test_user_administration - test_database_admin_cant_change_database_admin_user: message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" 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 } } } (server_code: 400020)
2025-11-06 09:56:51,040 - DEBUG - ydb.topic - close: Close topic client
2025-11-06 09:56:51,041 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-06 09:56:51,041 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11265
2025-11-06 09:56:51,185 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-ar5i2wnyyy.auto.internal:19416
2025-11-06 09:56:51,190 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-06 09:56:51,193 - INFO - ya.test - pytest_runtest_teardown: Test teardown
