2025-12-04 21:02:37,958 - INFO - ya.test.2486183  - pytest_runtest_setup: ####################################################################################################
2025-12-04 21:02:37,959 - INFO - ya.test.2486183  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-04 21:02:37,959 - INFO - ya.test.2486183  - pytest_runtest_setup: ####################################################################################################
2025-12-04 21:02:37,959 - INFO - ya.test.2486183  - pytest_runtest_setup: Test setup
2025-12-04 21:02:37,960 - INFO - ya.test.2486183  - 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-04 21:02:37,960 - DEBUG - ydb.connection.2486183  - 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-04 21:02:37,964 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(Login, 427bb29e-8c0e-4d82-a794-883b2acbf48c, localhost:20294): creating call state
2025-12-04 21:02:37,965 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(Login, 427bb29e-8c0e-4d82-a794-883b2acbf48c, localhost:20294): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 21:02:37,971 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(Login, 427bb29e-8c0e-4d82-a794-883b2acbf48c, localhost:20294): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTI1MzU3LCJpYXQiOjE3NjQ4ODIxNTcsInN1YiI6ImRiYWRtaW4ifQ.fSFh75SG5Q5yYi4NH8vAY_mD6YMV2n5l9IbN_9z_SQyG-zQTS1uTjKsQfuPciM3i_qPX3LNb9B0xcgXJqRgqJzUPkB8UPjQ3o9zj9YR8_6YURvIpmi90jTqd9FXRR4gVA-R8MoBApOYEV2ugP49INJCkGMx6h78wnBQ_5kxENnqbfo4we7fK8Rgvs3dZjYoULogmjpzDUd8WJtrOFivms3QKnyyrgRfWOYr-KgMuLr_KxmNccKR06qOftZ3gDkcdWwKRTxRbRemzk84-o3KySQKmPd5dYTl6j8MRRPZrGYkgNNpHkwFIxlYlUBU0compAvgR54sXTaQ1P4LG4YKPIg" } } } }
2025-12-04 21:02:37,972 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint localhost:20294
2025-12-04 21:02:38,168 - DEBUG - ydb.connection.2486183  - 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-04 21:02:38,169 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2486183  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 21:02:38,171 - DEBUG - ydb.connection.2486183  - 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-04 21:02:38,175 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2486183  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 21:02:38,175 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(ListEndpoints, 4d82bf0b-15c8-486b-9f57-7678fba0fd97, localhost:20294): creating call state
2025-12-04 21:02:38,175 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(ListEndpoints, 4d82bf0b-15c8-486b-9f57-7678fba0fd97, localhost:20294): request = { database: "/Root/test_user_administration" }
2025-12-04 21:02:38,178 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(ListEndpoints, 4d82bf0b-15c8-486b-9f57-7678fba0fd97, localhost:20294): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-if77zlumgq.auto.internal" port: 17581 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-04 21:02:38,178 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2486183  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-if77zlumgq.auto.internal:17581, location , ssl: False>]>
2025-12-04 21:02:38,178 - DEBUG - ydb.connection.2486183  - 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-04 21:02:38,185 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint localhost:20294
2025-12-04 21:02:38,186 - DEBUG - ydb.table.SessionPool.2486183  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-04 21:02:38,186 - DEBUG - ydb.table.SessionPool.2486183  - subscribe: Subscribe waiter <Future at 0x7fcffb09b5d0 state=pending>
2025-12-04 21:02:38,187 - DEBUG - ydb.table.SessionPool.2486183  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-04 21:02:38,187 - DEBUG - ydb.table.SessionPool.2486183  - _create: Created session <ydb.table.Session object at 0x7fcffb09b710>
2025-12-04 21:02:38,187 - DEBUG - ydb.table.SessionPool.2486183  - _prepare: Preparing session <ydb.table.Session object at 0x7fcffb09b710>
2025-12-04 21:02:38,187 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(CreateSession, 436eb906-d8cd-4fac-beda-de31d260e7f7, ghrun-if77zlumgq.auto.internal:17581): creating call state
2025-12-04 21:02:38,188 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(CreateSession, 436eb906-d8cd-4fac-beda-de31d260e7f7, ghrun-if77zlumgq.auto.internal:17581): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-04 21:02:38,190 - DEBUG - ydb.connection.2486183  - _on_response_callback: RpcState(CreateSession, 436eb906-d8cd-4fac-beda-de31d260e7f7, ghrun-if77zlumgq.auto.internal:17581): on response callback started
2025-12-04 21:02:38,191 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(CreateSession, 436eb906-d8cd-4fac-beda-de31d260e7f7, ghrun-if77zlumgq.auto.internal:17581): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZmE0NDkzNzMtMzM0ODE4NmQtM2M3YjdlMDgtNWI4ODAzOTI=" } } } }
2025-12-04 21:02:38,191 - DEBUG - ydb.table.SessionPool.2486183  - put: Put on session <ydb.table.Session object at 0x7fcffb09b710>
2025-12-04 21:02:38,191 - DEBUG - ydb.table.SessionPool.2486183  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fcffb09b710>
2025-12-04 21:02:38,191 - DEBUG - ydb.connection.2486183  - _on_response_callback: RpcState(CreateSession, 436eb906-d8cd-4fac-beda-de31d260e7f7, ghrun-if77zlumgq.auto.internal:17581): on response callback success
2025-12-04 21:02:38,192 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(ExecuteSchemeQuery, 56f0b992-40fb-4c85-9bf4-fceb40eb9370, ghrun-if77zlumgq.auto.internal:17581): creating call state
2025-12-04 21:02:38,192 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(ExecuteSchemeQuery, 56f0b992-40fb-4c85-9bf4-fceb40eb9370, ghrun-if77zlumgq.auto.internal:17581): request = { session_id: "ydb://session/3?node_id=50000&id=ZmE0NDkzNzMtMzM0ODE4NmQtM2M3YjdlMDgtNWI4ODAzOTI=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-04 21:02:38,198 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(ExecuteSchemeQuery, 56f0b992-40fb-4c85-9bf4-fceb40eb9370, ghrun-if77zlumgq.auto.internal:17581): 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-04 21:02:38,199 - DEBUG - ydb.table.SessionPool.2486183  - put: Put on session <ydb.table.Session object at 0x7fcffb09b710>
2025-12-04 21:02:38,199 - DEBUG - __tests__.test_user_administration.2486183  - 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-04 21:02:38,199 - DEBUG - ydb.topic.2486183  - close: Close topic client
2025-12-04 21:02:38,200 - DEBUG - ydb.topic.2486183  - close: Topic client was closed
2025-12-04 21:02:38,200 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint localhost:20294
2025-12-04 21:02:38,378 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint ghrun-if77zlumgq.auto.internal:17581
2025-12-04 21:02:38,388 - INFO - ydb.pool.Discovery.2486183  - run: Successfully terminated discovery process
2025-12-04 21:02:38,389 - INFO - ya.test.2486183  - pytest_runtest_teardown: Test teardown
2025-12-04 21:02:38,390 - DEBUG - ydb.tests.library.fixtures.2486183  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-04 21:02:38,390 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2486183  - remove_database: /Root/test_user_administration
2025-12-04 21:02:38,390 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2486183  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-04 21:02:38,394 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2486183  - _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=1764882158392427&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-04 21:02:38,395 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2486183  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-04 21:02:38,898 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2486183  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-04 21:02:38,898 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2486183  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-04 21:02:38,901 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2486183  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-04 21:02:38,901 - DEBUG - ydb.tests.library.fixtures.2486183  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-04 21:02:50,902 - INFO - ydb.tests.library.harness.kikimr_runner.2486183  - stop: Stopped node localhost:17581/1
2025-12-04 21:02:50,903 - DEBUG - ydb.tests.library.fixtures.2486183  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-04 21:02:50,904 - INFO - ydb.tests.library.fixtures.2486183  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-04 21:03:07,905 - INFO - ydb.tests.library.harness.kikimr_runner.2486183  - stop: Stopped node localhost:20294/1
2025-12-04 21:03:07,907 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23403
2025-12-04 21:03:07,907 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24556
2025-12-04 21:03:07,907 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26090
2025-12-04 21:03:07,907 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24416
2025-12-04 21:03:07,908 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17581
2025-12-04 21:03:07,908 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30411
2025-12-04 21:03:07,908 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16391
2025-12-04 21:03:07,908 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22169
2025-12-04 21:03:07,908 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20294
2025-12-04 21:03:07,909 - DEBUG - library.python.filelock.2486183  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15051
