2025-12-12 16:06:32,195 - INFO - ya.test.1466853  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:06:32,195 - INFO - ya.test.1466853  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-12 16:06:32,196 - INFO - ya.test.1466853  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:06:32,196 - INFO - ya.test.1466853  - pytest_runtest_setup: Test setup
2025-12-12 16:06:32,198 - INFO - ya.test.1466853  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[change-password])
2025-12-12 16:06:32,199 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:32,204 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(Login, d986f96b-3b39-485d-bfea-e6f6607a1527, localhost:30002): creating call state
2025-12-12 16:06:32,205 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(Login, d986f96b-3b39-485d-bfea-e6f6607a1527, localhost:30002): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-12 16:06:32,213 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(Login, d986f96b-3b39-485d-bfea-e6f6607a1527, localhost:30002): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1NTk4NzkyLCJpYXQiOjE3NjU1NTU1OTIsInN1YiI6ImRiYWRtaW4ifQ.bs8HFEAe2RvPBVU5z1g-w5bIMz3lY_rLv_wdwF5HjLR5eb3yriuYm0Tj3mtTX-S85BsYGwfFjQNlYI3aLZms2tUrusyQFllinVnhiw7UXfwJjEbd5V4BWuV6AUlbvVI7e0X0ADzk10OxoHu57x8JNeILKl43qKmCPr64jnxZXoJCIxIW8vNlw5xhRxMGLWa4a0LA1CELP_QdruvvrQ70ZaCO0XgGVUzpkqtjOyjDJ8e-Vmm9jwBmkaOa5kSoATscRpR0JGEnODkZkUBjRK4wLDhSNNRo3klpNgWyMTcadnXJI4fM4Hni8XaronvxfErBX5RO4tWOvUWJfjueL7fG2g" } } } }
2025-12-12 16:06:32,213 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:32,407 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:32,409 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-12 16:06:32,410 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:32,416 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-12 16:06:32,416 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(ListEndpoints, 7a1f9087-8e63-4b4e-af1f-91d3ed1477fa, localhost:30002): creating call state
2025-12-12 16:06:32,416 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(ListEndpoints, 7a1f9087-8e63-4b4e-af1f-91d3ed1477fa, localhost:30002): request = { database: "/Root/test_user_administration" }
2025-12-12 16:06:32,419 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(ListEndpoints, 7a1f9087-8e63-4b4e-af1f-91d3ed1477fa, localhost:30002): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jumawwbfgm.auto.internal" port: 9630 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-12-12 16:06:32,419 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jumawwbfgm.auto.internal:9630, location , ssl: False>]>
2025-12-12 16:06:32,420 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:32,427 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:32,428 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-12 16:06:32,429 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Subscribe waiter <Future at 0x7fdca7c78ce0 state=pending>
2025-12-12 16:06:32,429 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-12 16:06:32,429 - DEBUG - ydb.table.SessionPool.1466853  - _create: Created session <ydb.table.Session object at 0x7fdca7c786f0>
2025-12-12 16:06:32,429 - DEBUG - ydb.table.SessionPool.1466853  - _prepare: Preparing session <ydb.table.Session object at 0x7fdca7c786f0>
2025-12-12 16:06:32,430 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(CreateSession, 9758afdc-6777-4b01-a035-f65eb9cb8f64, ghrun-jumawwbfgm.auto.internal:9630): creating call state
2025-12-12 16:06:32,430 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(CreateSession, 9758afdc-6777-4b01-a035-f65eb9cb8f64, ghrun-jumawwbfgm.auto.internal:9630): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-12 16:06:32,433 - DEBUG - ydb.connection.1466853  - _on_response_callback: RpcState(CreateSession, 9758afdc-6777-4b01-a035-f65eb9cb8f64, ghrun-jumawwbfgm.auto.internal:9630): on response callback started
2025-12-12 16:06:32,433 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(CreateSession, 9758afdc-6777-4b01-a035-f65eb9cb8f64, ghrun-jumawwbfgm.auto.internal:9630): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZTczMjkwYjctMmM2ZmQ5NDQtMzAxNmU0YjktODYxZWIzYg==" } } } }
2025-12-12 16:06:32,434 - DEBUG - ydb.table.SessionPool.1466853  - put: Put on session <ydb.table.Session object at 0x7fdca7c786f0>
2025-12-12 16:06:32,434 - DEBUG - ydb.table.SessionPool.1466853  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fdca7c786f0>
2025-12-12 16:06:32,434 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(ExecuteSchemeQuery, 36970a4b-2be1-4872-a72f-fa9bc4d32628, ghrun-jumawwbfgm.auto.internal:9630): creating call state
2025-12-12 16:06:32,435 - DEBUG - ydb.connection.1466853  - _on_response_callback: RpcState(CreateSession, 9758afdc-6777-4b01-a035-f65eb9cb8f64, ghrun-jumawwbfgm.auto.internal:9630): on response callback success
2025-12-12 16:06:32,435 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(ExecuteSchemeQuery, 36970a4b-2be1-4872-a72f-fa9bc4d32628, ghrun-jumawwbfgm.auto.internal:9630): request = { session_id: "ydb://session/3?node_id=50000&id=ZTczMjkwYjctMmM2ZmQ5NDQtMzAxNmU0YjktODYxZWIzYg==" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-12 16:06:32,442 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(ExecuteSchemeQuery, 36970a4b-2be1-4872-a72f-fa9bc4d32628, ghrun-jumawwbfgm.auto.internal:9630): 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-12-12 16:06:32,444 - DEBUG - ydb.table.SessionPool.1466853  - put: Put on session <ydb.table.Session object at 0x7fdca7c786f0>
2025-12-12 16:06:32,445 - DEBUG - __tests__.test_user_administration.1466853  - 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-12-12 16:06:32,445 - DEBUG - ydb.topic.1466853  - close: Close topic client
2025-12-12 16:06:32,445 - DEBUG - ydb.topic.1466853  - close: Topic client was closed
2025-12-12 16:06:32,445 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:32,619 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint ghrun-jumawwbfgm.auto.internal:9630
2025-12-12 16:06:32,629 - INFO - ydb.pool.Discovery.1466853  - run: Successfully terminated discovery process
2025-12-12 16:06:32,631 - INFO - ya.test.1466853  - pytest_runtest_teardown: Test teardown
2025-12-12 16:06:32,632 - DEBUG - ydb.tests.library.fixtures.1466853  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-12 16:06:32,632 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1466853  - remove_database: /Root/test_user_administration
2025-12-12 16:06:32,632 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1466853  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-12 16:06:32,636 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1466853  - _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=1765555592634400&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-12 16:06:32,637 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1466853  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-12 16:06:33,141 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1466853  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-12 16:06:33,141 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1466853  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-12 16:06:33,144 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1466853  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-12 16:06:33,145 - DEBUG - ydb.tests.library.fixtures.1466853  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-12 16:06:45,146 - INFO - ydb.tests.library.harness.kikimr_runner.1466853  - stop: Stopped node localhost:9630/1
2025-12-12 16:06:45,147 - DEBUG - ydb.tests.library.fixtures.1466853  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-12 16:06:45,148 - INFO - ydb.tests.library.fixtures.1466853  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-12 16:07:02,155 - INFO - ydb.tests.library.harness.kikimr_runner.1466853  - stop: Stopped node localhost:30002/1
2025-12-12 16:07:02,157 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8711
2025-12-12 16:07:02,160 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8642
2025-12-12 16:07:02,161 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6597
2025-12-12 16:07:02,162 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7584
2025-12-12 16:07:02,162 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9630
2025-12-12 16:07:02,162 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11141
2025-12-12 16:07:02,163 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14540
2025-12-12 16:07:02,163 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8006
2025-12-12 16:07:02,164 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30002
2025-12-12 16:07:02,164 - DEBUG - library.python.filelock.1466853  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27432
