2025-11-14 06:53:07,367 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:53:07,367 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-14 06:53:07,367 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:53:07,367 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-14 06:53:07,369 - 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-14 06:53:07,369 - 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')]
2025-11-14 06:53:07,373 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 17528ad1-2ce4-485b-8adc-492a30568863, localhost:8713): creating call state
2025-11-14 06:53:07,374 - DEBUG - ydb.connection - _log_request: RpcState(Login, 17528ad1-2ce4-485b-8adc-492a30568863, localhost:8713): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-14 06:53:07,383 - DEBUG - ydb.connection - _log_response: RpcState(Login, 17528ad1-2ce4-485b-8adc-492a30568863, localhost:8713): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzMTQ2Mzg3LCJpYXQiOjE3NjMxMDMxODcsInN1YiI6ImRiYWRtaW4ifQ.FXJAqF0V3gXyBNu6HC6ZRex3HUYnhAfdONwsZXGf95bqy3x38BGYNfNnFMlDK3TbLLRctDnBLDKgpfiawStt8FnN1JlbTXX8nPIO4CmlTbcWO1X1rIF-Fv5rn5N-dJbUp7JOQf-5pAtkuvbI__2z4KWVKeufO41UNXny-fSKNMXVI6tAHza4iV1JgKQCwvrri7JDgwJTz04yXqqHPFYd1T9XQkwEUHMlYQ6TbIfngBafjnOZsDW3tPeb6Qqg3JY4h9iTEcGArSmyLmY7Flf8jP8HmEfW0dxoaYgbxjfLA_VoF1eAyKQ6t4XMyUiSreTkT4fAs0Klg-QHVZlOkF2aHw" } } } }
2025-11-14 06:53:07,384 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:07,576 - 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')]
2025-11-14 06:53:07,578 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-14 06:53:07,578 - 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')]
2025-11-14 06:53:07,582 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-14 06:53:07,582 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, d440a0ab-5dbe-4f5b-97b1-d0bb637a7683, localhost:8713): creating call state
2025-11-14 06:53:07,583 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, d440a0ab-5dbe-4f5b-97b1-d0bb637a7683, localhost:8713): request = { database: "/Root/test_user_administration" }
2025-11-14 06:53:07,585 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, d440a0ab-5dbe-4f5b-97b1-d0bb637a7683, localhost:8713): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iuibjpfjoa.auto.internal" port: 9668 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-14 06:53:07,586 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iuibjpfjoa.auto.internal:9668, location , ssl: False>]>
2025-11-14 06:53:07,586 - 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')]
2025-11-14 06:53:07,590 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:07,591 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-14 06:53:07,591 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f003368adb0 state=pending>
2025-11-14 06:53:07,592 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-14 06:53:07,592 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f003368a360>
2025-11-14 06:53:07,592 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f003368a360>
2025-11-14 06:53:07,593 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, d6d62e3a-a52a-4662-8de6-8b1811d4c9ea, ghrun-iuibjpfjoa.auto.internal:9668): creating call state
2025-11-14 06:53:07,593 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, d6d62e3a-a52a-4662-8de6-8b1811d4c9ea, ghrun-iuibjpfjoa.auto.internal:9668): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-14 06:53:07,595 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, d6d62e3a-a52a-4662-8de6-8b1811d4c9ea, ghrun-iuibjpfjoa.auto.internal:9668): on response callback started
2025-11-14 06:53:07,596 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, d6d62e3a-a52a-4662-8de6-8b1811d4c9ea, ghrun-iuibjpfjoa.auto.internal:9668): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZWY1YTBiM2YtYTE2YzBjMjgtMmMzNzMzYjgtMTY0OGRkZg==" } } } }
2025-11-14 06:53:07,596 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f003368a360>
2025-11-14 06:53:07,597 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f003368a360>
2025-11-14 06:53:07,597 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 30efb820-49ca-44ef-903f-075988fd773f, ghrun-iuibjpfjoa.auto.internal:9668): creating call state
2025-11-14 06:53:07,597 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, d6d62e3a-a52a-4662-8de6-8b1811d4c9ea, ghrun-iuibjpfjoa.auto.internal:9668): on response callback success
2025-11-14 06:53:07,598 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 30efb820-49ca-44ef-903f-075988fd773f, ghrun-iuibjpfjoa.auto.internal:9668): request = { session_id: "ydb://session/3?node_id=50000&id=ZWY1YTBiM2YtYTE2YzBjMjgtMmMzNzMzYjgtMTY0OGRkZg==" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-14 06:53:07,605 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 30efb820-49ca-44ef-903f-075988fd773f, ghrun-iuibjpfjoa.auto.internal:9668): 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-14 06:53:07,605 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f003368a360>
2025-11-14 06:53:07,606 - 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-14 06:53:07,606 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:07,785 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-iuibjpfjoa.auto.internal:9668
2025-11-14 06:53:07,792 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-14 06:53:07,794 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-14 06:53:07,794 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-14 06:53:07,795 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-14 06:53:07,795 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-14 06:53:07,798 - 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=1763103187795975&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-14 06:53:07,798 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-14 06:53:08,300 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-14 06:53:08,300 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-14 06:53:08,301 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-14 06:53:08,301 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-14 06:53:20,303 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:9668/1
2025-11-14 06:53:20,303 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-14 06:53:20,305 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-14 06:53:37,306 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:8713/1
2025-11-14 06:53:37,307 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/61725
2025-11-14 06:53:37,308 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13273
2025-11-14 06:53:37,308 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22805
2025-11-14 06:53:37,308 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3831
2025-11-14 06:53:37,308 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9668
2025-11-14 06:53:37,308 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25894
2025-11-14 06:53:37,309 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6788
2025-11-14 06:53:37,309 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4527
2025-11-14 06:53:37,309 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8713
2025-11-14 06:53:37,309 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23042
