2025-11-05 11:59:33,521 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 11:59:33,521 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-05 11:59:33,521 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 11:59:33,522 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-05 11:59:33,523 - 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-05 11:59:33,524 - 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-11-05 11:59:33,532 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, b75871cc-adc2-4580-85d1-aad6f0d7d061, localhost:31260): creating call state
2025-11-05 11:59:33,532 - DEBUG - ydb.connection - _log_request: RpcState(Login, b75871cc-adc2-4580-85d1-aad6f0d7d061, localhost:31260): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-05 11:59:33,540 - DEBUG - ydb.connection - _log_response: RpcState(Login, b75871cc-adc2-4580-85d1-aad6f0d7d061, localhost:31260): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMzg3MTczLCJpYXQiOjE3NjIzNDM5NzMsInN1YiI6ImRiYWRtaW4ifQ.Y-QUQ5QUWA54XxfQYQ2E_bSzvNhP7XVlExFxp4iMtJ3vRjuzupTVHEKUesMMBjgSefFB-x4cHwKnO05K1197IV3XxsjyrDDn85GYz_p-DXXL2Fnx2R7kGjac7RTEN_xzJvFGOWY_EQN6uvvDm9djdEfEwUnfCcSHJiqDlVgwM7rLGNK_FzabZYw5CTX0zvsoDNAcVyJUuCyO_7NBIFQUnBldkkBJk3AGmpnhPmjKAUnlXjuPDtY6vwgueFhdEsObSRgCeb7fplV4ZqOiJVpsJh3EPTMw1bOa2O-obzCGYpc5Doop1fISnd5sQB6JRMZvxIEqq9KO9ud18eA9mDOspQ" } } } }
2025-11-05 11:59:33,540 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:31260
2025-11-05 11:59:33,733 - 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-11-05 11:59:33,734 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-05 11:59:33,735 - 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-11-05 11:59:33,745 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-05 11:59:33,746 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, cd888acb-3f18-4467-aaeb-86488edb037b, localhost:31260): creating call state
2025-11-05 11:59:33,746 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, cd888acb-3f18-4467-aaeb-86488edb037b, localhost:31260): request = { database: "/Root/test_user_administration" }
2025-11-05 11:59:33,749 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, cd888acb-3f18-4467-aaeb-86488edb037b, localhost:31260): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-atcy2dqar4.auto.internal" port: 15548 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-05 11:59:33,750 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-atcy2dqar4.auto.internal:15548, location , ssl: False>]>
2025-11-05 11:59:33,751 - 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-11-05 11:59:33,761 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:31260
2025-11-05 11:59:33,762 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-05 11:59:33,763 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fa573711050 state=pending>
2025-11-05 11:59:33,765 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-05 11:59:33,765 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fa573710b50>
2025-11-05 11:59:33,772 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fa573710b50>
2025-11-05 11:59:33,772 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, d7439d63-5e3f-4191-8e5c-3a017df42ddc, ghrun-atcy2dqar4.auto.internal:15548): creating call state
2025-11-05 11:59:33,776 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, d7439d63-5e3f-4191-8e5c-3a017df42ddc, ghrun-atcy2dqar4.auto.internal:15548): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-05 11:59:33,781 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, d7439d63-5e3f-4191-8e5c-3a017df42ddc, ghrun-atcy2dqar4.auto.internal:15548): on response callback started
2025-11-05 11:59:33,782 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, d7439d63-5e3f-4191-8e5c-3a017df42ddc, ghrun-atcy2dqar4.auto.internal:15548): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZWIxNzY5MC1lMWYzMzc2ZS03MWI2ZjA0MS1mZmFmYjdhNQ==" } } } }
2025-11-05 11:59:33,782 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fa573710b50>
2025-11-05 11:59:33,785 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fa573710b50>
2025-11-05 11:59:33,785 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 7262adc3-8b5e-403e-8858-1b63231b876b, ghrun-atcy2dqar4.auto.internal:15548): creating call state
2025-11-05 11:59:33,786 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, d7439d63-5e3f-4191-8e5c-3a017df42ddc, ghrun-atcy2dqar4.auto.internal:15548): on response callback success
2025-11-05 11:59:33,790 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 7262adc3-8b5e-403e-8858-1b63231b876b, ghrun-atcy2dqar4.auto.internal:15548): request = { session_id: "ydb://session/3?node_id=50000&id=ZWIxNzY5MC1lMWYzMzc2ZS03MWI2ZjA0MS1mZmFmYjdhNQ==" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-05 11:59:33,804 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 7262adc3-8b5e-403e-8858-1b63231b876b, ghrun-atcy2dqar4.auto.internal:15548): 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-05 11:59:33,805 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fa573710b50>
2025-11-05 11:59:33,806 - 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-05 11:59:33,806 - DEBUG - ydb.topic - close: Close topic client
2025-11-05 11:59:33,806 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-05 11:59:33,806 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:31260
2025-11-05 11:59:33,951 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-atcy2dqar4.auto.internal:15548
2025-11-05 11:59:33,968 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-05 11:59:33,987 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-05 11:59:33,988 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-05 11:59:33,988 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-05 11:59:33,989 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-05 11:59:33,993 - 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=1762343973989894&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-05 11:59:33,993 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-05 11:59:34,497 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-05 11:59:34,497 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-05 11:59:34,501 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-05 11:59:34,514 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-05 11:59:46,524 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:15548/1
2025-11-05 11:59:46,524 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-05 11:59:46,525 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-05 12:00:03,580 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:31260/1
2025-11-05 12:00:03,581 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20728
2025-11-05 12:00:03,581 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13238
2025-11-05 12:00:03,581 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3790
2025-11-05 12:00:03,582 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16160
2025-11-05 12:00:03,582 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15548
2025-11-05 12:00:03,582 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17422
2025-11-05 12:00:03,584 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7383
2025-11-05 12:00:03,584 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20766
2025-11-05 12:00:03,584 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/31260
2025-11-05 12:00:03,584 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27226
