2025-11-01 19:59:20,307 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 19:59:20,307 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-01 19:59:20,307 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 19:59:20,307 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 19:59:20,310 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[change-password])
2025-11-01 19:59:20,311 - 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 19:59:20,325 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, e3cc77eb-67a2-430c-9011-65a25706aa23, localhost:12034): creating call state
2025-11-01 19:59:20,325 - DEBUG - ydb.connection - _log_request: RpcState(Login, e3cc77eb-67a2-430c-9011-65a25706aa23, localhost:12034): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 19:59:20,336 - DEBUG - ydb.connection - _log_response: RpcState(Login, e3cc77eb-67a2-430c-9011-65a25706aa23, localhost:12034): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDcwMzYwLCJpYXQiOjE3NjIwMjcxNjAsInN1YiI6ImRiYWRtaW4ifQ.GYHd0KDkeeKxvmCMGdcCzy_kbnoU7RfC4Ogz82TsJYgUHV4F1ldGv4wXW1zZg-CvDshAQ-5ItbbWMVk85zptX3LbCf-x1CKvB-ob0WlxL2brmUjMndhy99e12svbkwfnrArYvYYa6ybHrcOwPtI2UbxK7LuM0yzD8RMB1SIBEA999sXRcyzTgGlQeSP8QPbS3labIqDJOqxqFK7HZXYeGnPVxJhfaL-nmsiMEKwISSkTUGusVuWQlACsOzTAA15XJnvo9VMvYVGurL6ZHMN0_E3i1hitoJBhVX4-g3NRRaFpr5fEFTNaKs7pwvN8UM9k48ndPM_1CuymLgxOzxusGA" } } } }
2025-11-01 19:59:20,347 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:12034
2025-11-01 19:59:20,529 - 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 19:59:20,535 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 19:59:20,543 - 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 19:59:20,568 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 19:59:20,584 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, e648447e-6560-4d84-b1c8-de19c656bf01, localhost:12034): creating call state
2025-11-01 19:59:20,585 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, e648447e-6560-4d84-b1c8-de19c656bf01, localhost:12034): request = { database: "/Root/test_user_administration" }
2025-11-01 19:59:20,593 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, e648447e-6560-4d84-b1c8-de19c656bf01, localhost:12034): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-mjpjznvske.auto.internal" port: 7547 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 19:59:20,632 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-mjpjznvske.auto.internal:7547, location , ssl: False>]>
2025-11-01 19:59:20,632 - 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 19:59:20,652 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:12034
2025-11-01 19:59:20,654 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 19:59:20,671 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fe8704b5140 state=pending>
2025-11-01 19:59:20,672 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 19:59:20,672 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fe8704b3d50>
2025-11-01 19:59:20,672 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fe8704b3d50>
2025-11-01 19:59:20,673 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 278e6059-05ed-4cef-b554-4e71a3721384, ghrun-mjpjznvske.auto.internal:7547): creating call state
2025-11-01 19:59:20,681 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 278e6059-05ed-4cef-b554-4e71a3721384, ghrun-mjpjznvske.auto.internal:7547): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 19:59:20,696 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 278e6059-05ed-4cef-b554-4e71a3721384, ghrun-mjpjznvske.auto.internal:7547): on response callback started
2025-11-01 19:59:20,697 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 278e6059-05ed-4cef-b554-4e71a3721384, ghrun-mjpjznvske.auto.internal:7547): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OWZiNmFjMTktZjAzMTgxZDItMmY5MmFjYjAtZjNkNzVjMjM=" } } } }
2025-11-01 19:59:20,698 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 278e6059-05ed-4cef-b554-4e71a3721384, ghrun-mjpjznvske.auto.internal:7547): on response callback success
2025-11-01 19:59:20,698 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fe8704b3d50>
2025-11-01 19:59:20,698 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fe8704b3d50>
2025-11-01 19:59:20,699 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, de580203-f77c-49f3-a68d-15daf1600807, ghrun-mjpjznvske.auto.internal:7547): creating call state
2025-11-01 19:59:20,699 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, de580203-f77c-49f3-a68d-15daf1600807, ghrun-mjpjznvske.auto.internal:7547): request = { session_id: "ydb://session/3?node_id=50000&id=OWZiNmFjMTktZjAzMTgxZDItMmY5MmFjYjAtZjNkNzVjMjM=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 19:59:20,713 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, de580203-f77c-49f3-a68d-15daf1600807, ghrun-mjpjznvske.auto.internal:7547): 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 19:59:20,714 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fe8704b3d50>
2025-11-01 19:59:20,715 - 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 19:59:20,716 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 19:59:20,716 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 19:59:20,716 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:12034
2025-11-01 19:59:20,772 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-mjpjznvske.auto.internal:7547
2025-11-01 19:59:20,864 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 19:59:20,866 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 19:59:20,867 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-01 19:59:20,867 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-01 19:59:20,868 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-01 19:59:20,889 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/test_user_administration&cmstid=72057594037936131&txid=1762027160869302&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-01 19:59:20,890 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-01 19:59:21,402 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-01 19:59:21,403 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-01 19:59:21,407 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-01 19:59:21,407 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-01 19:59:33,419 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:7547/1
2025-11-01 19:59:33,488 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-01 19:59:33,490 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-01 19:59:45,506 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:12034/1
2025-11-01 19:59:45,508 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8307
2025-11-01 19:59:45,508 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3578
2025-11-01 19:59:45,508 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7056
2025-11-01 19:59:45,508 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28418
2025-11-01 19:59:45,508 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7547
2025-11-01 19:59:45,509 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8630
2025-11-01 19:59:45,509 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12641
2025-11-01 19:59:45,509 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6842
2025-11-01 19:59:45,509 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12034
2025-11-01 19:59:45,509 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19927
