2025-10-14 11:38:04,445 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-14 11:38:04,445 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-10-14 11:38:04,445 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-14 11:38:04,445 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-14 11:38:04,447 - 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-10-14 11:38:04,447 - 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-14 11:38:04,451 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, ee31d63d-3a09-4c5e-ac66-6f695bacecdc, localhost:30972): creating call state
2025-10-14 11:38:04,452 - DEBUG - ydb.connection - _log_request: RpcState(Login, ee31d63d-3a09-4c5e-ac66-6f695bacecdc, localhost:30972): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-14 11:38:04,461 - DEBUG - ydb.connection - _log_response: RpcState(Login, ee31d63d-3a09-4c5e-ac66-6f695bacecdc, localhost:30972): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYwNDg1MDg0LCJpYXQiOjE3NjA0NDE4ODQsInN1YiI6ImRiYWRtaW4ifQ.Vwfyy5AjBQsjwdiSLeUhU2DoW-AJ1pNoJsEJ5PSUp2PMJof6-OaaRBRZMoigNJBLwXZfurWMj2kNvHMsuPJfVnbkfZBvDfk6CQ4oLOE7Rrk4dwVqsEJSL6B42-7-nk4Ua_i056AC7lU496N75q_OB0y7a-eO6z8pHM7M1ujmqUPuQ4KT_EAZ3LUOoZsiAKBpUGFvfCQwcIHL71ZjuQ086nKmE36qJjD1FxDLBt9KPPK8RTlKqem23s15QMA3wMe0ORFdLVZb6q4o1nbSS1NUZ9Tan3YDfzCJRTuTnu1EJh760Y2SfuFi29zos_1uJ5Q7ylmnuAXwbhprHUBDS7UUsg" } } } }
2025-10-14 11:38:04,462 - INFO - ydb.connection - close: Closing channel for endpoint localhost:30972
2025-10-14 11:38:04,659 - 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-14 11:38:04,661 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-14 11:38:04,662 - 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-14 11:38:04,682 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-14 11:38:04,683 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 36a5ec9e-b2bb-4d50-b3bb-cd10a84e517c, localhost:30972): creating call state
2025-10-14 11:38:04,683 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 36a5ec9e-b2bb-4d50-b3bb-cd10a84e517c, localhost:30972): request = { database: "/Root/test_user_administration" }
2025-10-14 11:38:04,693 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 36a5ec9e-b2bb-4d50-b3bb-cd10a84e517c, localhost:30972): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-t7yexzjxoe.auto.internal" port: 12644 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-14 11:38:04,693 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-t7yexzjxoe.auto.internal:12644, location , ssl: False>]>
2025-10-14 11:38:04,693 - 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-14 11:38:04,721 - INFO - ydb.connection - close: Closing channel for endpoint localhost:30972
2025-10-14 11:38:04,723 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-14 11:38:04,723 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f1106a62db0 state=pending>
2025-10-14 11:38:04,723 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-10-14 11:38:04,724 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f1106a62d60>
2025-10-14 11:38:04,724 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f1106a62d60>
2025-10-14 11:38:04,725 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, ba5365a6-1f0e-4cbe-88fb-c475b0e9b013, ghrun-t7yexzjxoe.auto.internal:12644): creating call state
2025-10-14 11:38:04,727 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, ba5365a6-1f0e-4cbe-88fb-c475b0e9b013, ghrun-t7yexzjxoe.auto.internal:12644): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-14 11:38:04,739 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, ba5365a6-1f0e-4cbe-88fb-c475b0e9b013, ghrun-t7yexzjxoe.auto.internal:12644): on response callback started
2025-10-14 11:38:04,763 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, ba5365a6-1f0e-4cbe-88fb-c475b0e9b013, ghrun-t7yexzjxoe.auto.internal:12644): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZTEyMTUzYmEtY2YxNjc2MGMtMmJkMDhjM2UtOGZjOGFhMmE=" } } } }
2025-10-14 11:38:04,763 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1106a62d60>
2025-10-14 11:38:04,764 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1106a62d60>
2025-10-14 11:38:04,764 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 5073d142-8765-4a68-bdba-2d3766d84c9e, ghrun-t7yexzjxoe.auto.internal:12644): creating call state
2025-10-14 11:38:04,766 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 5073d142-8765-4a68-bdba-2d3766d84c9e, ghrun-t7yexzjxoe.auto.internal:12644): request = { session_id: "ydb://session/3?node_id=50000&id=ZTEyMTUzYmEtY2YxNjc2MGMtMmJkMDhjM2UtOGZjOGFhMmE=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-14 11:38:04,766 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, ba5365a6-1f0e-4cbe-88fb-c475b0e9b013, ghrun-t7yexzjxoe.auto.internal:12644): on response callback success
2025-10-14 11:38:04,777 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 5073d142-8765-4a68-bdba-2d3766d84c9e, ghrun-t7yexzjxoe.auto.internal:12644): 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-10-14 11:38:04,778 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1106a62d60>
2025-10-14 11:38:04,778 - 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-10-14 11:38:04,779 - DEBUG - ydb.topic - close: Close topic client
2025-10-14 11:38:04,779 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-14 11:38:04,779 - INFO - ydb.connection - close: Closing channel for endpoint localhost:30972
2025-10-14 11:38:04,885 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-t7yexzjxoe.auto.internal:12644
2025-10-14 11:38:04,923 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-14 11:38:04,948 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-10-14 11:38:04,971 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-10-14 11:38:04,971 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-10-14 11:38:04,972 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-10-14 11:38:04,983 - 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=1760441884976622&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-10-14 11:38:04,983 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-10-14 11:38:05,495 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-10-14 11:38:05,495 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-10-14 11:38:05,503 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-10-14 11:38:05,504 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-10-14 11:38:22,518 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:12644/1
2025-10-14 11:38:22,519 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-10-14 11:38:22,520 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-10-14 11:38:39,523 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:30972/1
2025-10-14 11:38:39,526 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13352
2025-10-14 11:38:39,527 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21533
2025-10-14 11:38:39,527 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26051
2025-10-14 11:38:39,527 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29317
2025-10-14 11:38:39,535 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12644
2025-10-14 11:38:39,535 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5633
2025-10-14 11:38:39,535 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22528
2025-10-14 11:38:39,536 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28899
2025-10-14 11:38:39,536 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30972
2025-10-14 11:38:39,542 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17844
