2025-11-01 16:44:13,304 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:44:13,309 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-11-01 16:44:13,309 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:44:13,309 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:44:13,331 - 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-01 16:44:13,345 - 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-01 16:44:13,351 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 6fc40db2-1196-45ec-b062-087cd981fb0f, localhost:16936): creating call state
2025-11-01 16:44:13,352 - DEBUG - ydb.connection - _log_request: RpcState(Login, 6fc40db2-1196-45ec-b062-087cd981fb0f, localhost:16936): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:44:13,374 - DEBUG - ydb.connection - _log_response: RpcState(Login, 6fc40db2-1196-45ec-b062-087cd981fb0f, localhost:16936): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU4NjUzLCJpYXQiOjE3NjIwMTU0NTMsInN1YiI6ImRiYWRtaW4ifQ.QmhmFjRmEHBBK0MmgcH1s_rmBhvyq1mmcjk8aJ24gYbXfWl3-FIURdMo2CRMwZ67xDluODPHTEZhcq6BjqCjh8z8NLdqhKAYqAkIjROKDd1dFfy--MRAlIpP6zRuFqz4REj5R_5qJjtn1SnUwXCzWMRnb6_e0pxVG5Ydk1ALbxwgNhvz_ZvBbOrnq1D9WxJ47Uq-Nybkc1mYyw2Ex3YWK_cloqEq55IWKNQZb-3XFVYFFvd0RpDh5PIRpeMruB3tzfryrXVScg263OJHlHaFKeFijaQ0VztMvJU98KZIu4JK8maN0AjLc9OpA3DbuyA-wEj-6YatRj21Rtwcqo2zQA" } } } }
2025-11-01 16:44:13,378 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:16936
2025-11-01 16:44:13,555 - 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-01 16:44:13,557 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:44:13,558 - 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-01 16:44:13,564 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:44:13,566 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 452a4f6c-2777-43b1-b90c-635639b5aee0, localhost:16936): creating call state
2025-11-01 16:44:13,566 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 452a4f6c-2777-43b1-b90c-635639b5aee0, localhost:16936): request = { database: "/Root/test_user_administration" }
2025-11-01 16:44:13,569 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 452a4f6c-2777-43b1-b90c-635639b5aee0, localhost:16936): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-tvlw7frnpa.auto.internal" port: 21336 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-01 16:44:13,570 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-tvlw7frnpa.auto.internal:21336, location , ssl: False>]>
2025-11-01 16:44:13,570 - 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-01 16:44:13,577 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:16936
2025-11-01 16:44:13,587 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 16:44:13,587 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f1d94bd0150 state=pending>
2025-11-01 16:44:13,587 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 16:44:13,587 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f1d94bd0240>
2025-11-01 16:44:13,588 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f1d94bd0240>
2025-11-01 16:44:13,588 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 3d26bb32-e4fb-4db8-8a57-b6e644c77207, ghrun-tvlw7frnpa.auto.internal:21336): creating call state
2025-11-01 16:44:13,588 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 3d26bb32-e4fb-4db8-8a57-b6e644c77207, ghrun-tvlw7frnpa.auto.internal:21336): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 16:44:13,591 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 3d26bb32-e4fb-4db8-8a57-b6e644c77207, ghrun-tvlw7frnpa.auto.internal:21336): on response callback started
2025-11-01 16:44:13,591 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 3d26bb32-e4fb-4db8-8a57-b6e644c77207, ghrun-tvlw7frnpa.auto.internal:21336): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OGY5NWNjNS1hNjM4MWU1NC00NDMyOTYzYS01MmUxM2RjNw==" } } } }
2025-11-01 16:44:13,592 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1d94bd0240>
2025-11-01 16:44:13,592 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1d94bd0240>
2025-11-01 16:44:13,593 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 3d26bb32-e4fb-4db8-8a57-b6e644c77207, ghrun-tvlw7frnpa.auto.internal:21336): on response callback success
2025-11-01 16:44:13,593 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 4dbe8366-48d6-4650-95f0-455a191c542a, ghrun-tvlw7frnpa.auto.internal:21336): creating call state
2025-11-01 16:44:13,594 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 4dbe8366-48d6-4650-95f0-455a191c542a, ghrun-tvlw7frnpa.auto.internal:21336): request = { session_id: "ydb://session/3?node_id=50000&id=OGY5NWNjNS1hNjM4MWU1NC00NDMyOTYzYS01MmUxM2RjNw==" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:44:13,602 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 4dbe8366-48d6-4650-95f0-455a191c542a, ghrun-tvlw7frnpa.auto.internal:21336): 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-01 16:44:13,603 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1d94bd0240>
2025-11-01 16:44:13,603 - 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-01 16:44:13,604 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:44:13,604 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:44:13,604 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:16936
2025-11-01 16:44:13,767 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-tvlw7frnpa.auto.internal:21336
2025-11-01 16:44:13,780 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:44:13,804 - INFO - ya.test - pytest_runtest_teardown: Test teardown
