2025-12-07 20:06:10,342 - INFO - ya.test.1526363  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:06:10,342 - INFO - ya.test.1526363  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-07 20:06:10,342 - INFO - ya.test.1526363  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:06:10,343 - INFO - ya.test.1526363  - pytest_runtest_setup: Test setup
2025-12-07 20:06:10,344 - INFO - ya.test.1526363  - 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-07 20:06:10,344 - DEBUG - ydb.connection.1526363  - 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-07 20:06:10,348 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(Login, 0f38e6c4-0d0d-4344-a4c2-de33e81d7448, localhost:5665): creating call state
2025-12-07 20:06:10,348 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(Login, 0f38e6c4-0d0d-4344-a4c2-de33e81d7448, localhost:5665): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-07 20:06:10,355 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(Login, 0f38e6c4-0d0d-4344-a4c2-de33e81d7448, localhost:5665): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MTgxMTcwLCJpYXQiOjE3NjUxMzc5NzAsInN1YiI6ImRiYWRtaW4ifQ.GJ8Yo5SPa2nSp3oGmxbsM0_QdzQ2kF_ZSUTfs2MiExYH_F79VsWv0tGD9s2moJyyIbrnL64e8_lxbjQKreu60axT83h5afF7u2cgNTWir7BDsW8JWDVlM67OjdxkPgtJGUtFBnYjxWLtRiy5UAHwmMYNIluoWeU2XDSKPTmxXe9hJat2UlLU_ifQtzzm11KOXDRTmPjCP_dKLHlISFkaCcTELtYkw4m47bwbgKnpPAfkTQJ72yWDcrZTTwO_YcVyUcGMQTbfmG_tvoC-Dq85rdELHVEO4jHoneUmCcwc70Rh0QI3mblZPeW_2Xwu-LHGZDoRe1V56I8iZeRqfM12pA" } } } }
2025-12-07 20:06:10,355 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint localhost:5665
2025-12-07 20:06:10,551 - DEBUG - ydb.connection.1526363  - 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-07 20:06:10,554 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1526363  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-07 20:06:10,555 - DEBUG - ydb.connection.1526363  - 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-07 20:06:10,559 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1526363  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-07 20:06:10,560 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(ListEndpoints, 7253c437-1d78-4f16-acfb-88da9454a16f, localhost:5665): creating call state
2025-12-07 20:06:10,560 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(ListEndpoints, 7253c437-1d78-4f16-acfb-88da9454a16f, localhost:5665): request = { database: "/Root/test_user_administration" }
2025-12-07 20:06:10,563 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(ListEndpoints, 7253c437-1d78-4f16-acfb-88da9454a16f, localhost:5665): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-gishsengma.auto.internal" port: 13947 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-07 20:06:10,563 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1526363  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-gishsengma.auto.internal:13947, location , ssl: False>]>
2025-12-07 20:06:10,564 - DEBUG - ydb.connection.1526363  - 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-07 20:06:10,570 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint localhost:5665
2025-12-07 20:06:10,571 - DEBUG - ydb.table.SessionPool.1526363  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-07 20:06:10,571 - DEBUG - ydb.table.SessionPool.1526363  - subscribe: Subscribe waiter <Future at 0x7f83714d0b50 state=pending>
2025-12-07 20:06:10,571 - DEBUG - ydb.table.SessionPool.1526363  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-07 20:06:10,571 - DEBUG - ydb.table.SessionPool.1526363  - _create: Created session <ydb.table.Session object at 0x7f83714d0560>
2025-12-07 20:06:10,571 - DEBUG - ydb.table.SessionPool.1526363  - _prepare: Preparing session <ydb.table.Session object at 0x7f83714d0560>
2025-12-07 20:06:10,572 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(CreateSession, 7a06cfac-5ea7-4a2e-aa92-4494401c6c3f, ghrun-gishsengma.auto.internal:13947): creating call state
2025-12-07 20:06:10,572 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(CreateSession, 7a06cfac-5ea7-4a2e-aa92-4494401c6c3f, ghrun-gishsengma.auto.internal:13947): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-07 20:06:10,574 - DEBUG - ydb.connection.1526363  - _on_response_callback: RpcState(CreateSession, 7a06cfac-5ea7-4a2e-aa92-4494401c6c3f, ghrun-gishsengma.auto.internal:13947): on response callback started
2025-12-07 20:06:10,575 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(CreateSession, 7a06cfac-5ea7-4a2e-aa92-4494401c6c3f, ghrun-gishsengma.auto.internal:13947): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YzE5NWM2YTgtNTlhODQ3ZS00YTI2MDk0Ny0xMDA1ZWVhNw==" } } } }
2025-12-07 20:06:10,575 - DEBUG - ydb.table.SessionPool.1526363  - put: Put on session <ydb.table.Session object at 0x7f83714d0560>
2025-12-07 20:06:10,575 - DEBUG - ydb.table.SessionPool.1526363  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f83714d0560>
2025-12-07 20:06:10,576 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(ExecuteSchemeQuery, 14afe05d-271e-47e3-b0eb-bd3549c64aae, ghrun-gishsengma.auto.internal:13947): creating call state
2025-12-07 20:06:10,576 - DEBUG - ydb.connection.1526363  - _on_response_callback: RpcState(CreateSession, 7a06cfac-5ea7-4a2e-aa92-4494401c6c3f, ghrun-gishsengma.auto.internal:13947): on response callback success
2025-12-07 20:06:10,577 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(ExecuteSchemeQuery, 14afe05d-271e-47e3-b0eb-bd3549c64aae, ghrun-gishsengma.auto.internal:13947): request = { session_id: "ydb://session/3?node_id=50000&id=YzE5NWM2YTgtNTlhODQ3ZS00YTI2MDk0Ny0xMDA1ZWVhNw==" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-07 20:06:10,583 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(ExecuteSchemeQuery, 14afe05d-271e-47e3-b0eb-bd3549c64aae, ghrun-gishsengma.auto.internal:13947): 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-07 20:06:10,583 - DEBUG - ydb.table.SessionPool.1526363  - put: Put on session <ydb.table.Session object at 0x7f83714d0560>
2025-12-07 20:06:10,583 - DEBUG - __tests__.test_user_administration.1526363  - 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-07 20:06:10,584 - DEBUG - ydb.topic.1526363  - close: Close topic client
2025-12-07 20:06:10,584 - DEBUG - ydb.topic.1526363  - close: Topic client was closed
2025-12-07 20:06:10,584 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint localhost:5665
2025-12-07 20:06:10,762 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint ghrun-gishsengma.auto.internal:13947
2025-12-07 20:06:10,772 - INFO - ydb.pool.Discovery.1526363  - run: Successfully terminated discovery process
2025-12-07 20:06:10,773 - INFO - ya.test.1526363  - pytest_runtest_teardown: Test teardown
2025-12-07 20:06:10,774 - DEBUG - ydb.tests.library.fixtures.1526363  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-07 20:06:10,774 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1526363  - remove_database: /Root/test_user_administration
2025-12-07 20:06:10,774 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1526363  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-07 20:06:10,778 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1526363  - _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=1765137970776225&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-07 20:06:10,779 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1526363  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-07 20:06:11,282 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1526363  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-07 20:06:11,282 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1526363  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-07 20:06:11,285 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1526363  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-07 20:06:11,286 - DEBUG - ydb.tests.library.fixtures.1526363  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-07 20:06:23,287 - INFO - ydb.tests.library.harness.kikimr_runner.1526363  - stop: Stopped node localhost:13947/1
2025-12-07 20:06:23,287 - DEBUG - ydb.tests.library.fixtures.1526363  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-07 20:06:23,288 - INFO - ydb.tests.library.fixtures.1526363  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-07 20:06:40,290 - INFO - ydb.tests.library.harness.kikimr_runner.1526363  - stop: Stopped node localhost:5665/1
2025-12-07 20:06:40,291 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32233
2025-12-07 20:06:40,291 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3041
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21381
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14121
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13947
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9758
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4240
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7287
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5665
2025-12-07 20:06:40,292 - DEBUG - library.python.filelock.1526363  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15594
