2025-11-19 11:32:21,625 - INFO - ya.test.2439411  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:32:21,626 - INFO - ya.test.2439411  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-19 11:32:21,626 - INFO - ya.test.2439411  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:32:21,626 - INFO - ya.test.2439411  - pytest_runtest_setup: Test setup
2025-11-19 11:32:21,627 - INFO - ya.test.2439411  - 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-19 11:32:21,628 - DEBUG - ydb.connection.2439411  - 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-19 11:32:21,661 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(Login, 7197bc34-39ba-45d0-9179-b93a50cbfc9c, localhost:7058): creating call state
2025-11-19 11:32:21,662 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(Login, 7197bc34-39ba-45d0-9179-b93a50cbfc9c, localhost:7058): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 11:32:21,681 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(Login, 7197bc34-39ba-45d0-9179-b93a50cbfc9c, localhost:7058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNTk1MTQxLCJpYXQiOjE3NjM1NTE5NDEsInN1YiI6ImRiYWRtaW4ifQ.g8idwEJJF0wLUKqcTU3-smAJFfyED90Q9UTTNEys67C9xOrh4aPkdbgssG_d5r-fnmPwLkwecXc7goD-4bu9VrbvEK77JYnvF_Q-mfaL0V_5egO2Lvz205VkP9jupL_m1t5bsODJGJKdX2OZXip1Lenk5WTNYjvvDxMEgjm_z2io1es1RsIS1wejswLl5eGZ78mpzAywsrCpR8Hll4ExLFJgB9Od53oRM41L7ho-MAz5G8vJS6vhhuOoBM8K_ITPOqy81T6IQy2Cq0zMb26P8Wpg3NjcxWF_0sc1nAWLza3iZZFUIQws6rnt5cK6KliitrM6RWybqyZujpmjJKzUmw" } } } }
2025-11-19 11:32:21,682 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint localhost:7058
2025-11-19 11:32:21,862 - DEBUG - ydb.connection.2439411  - 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-19 11:32:21,864 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2439411  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 11:32:21,865 - DEBUG - ydb.connection.2439411  - 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-19 11:32:21,873 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2439411  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 11:32:21,873 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(ListEndpoints, dd21fef8-346b-4084-9576-f5f42a9ec691, localhost:7058): creating call state
2025-11-19 11:32:21,874 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(ListEndpoints, dd21fef8-346b-4084-9576-f5f42a9ec691, localhost:7058): request = { database: "/Root/test_user_administration" }
2025-11-19 11:32:21,878 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(ListEndpoints, dd21fef8-346b-4084-9576-f5f42a9ec691, localhost:7058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-c3mdp2mblq.auto.internal" port: 14817 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-19 11:32:21,885 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2439411  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-c3mdp2mblq.auto.internal:14817, location , ssl: False>]>
2025-11-19 11:32:21,885 - DEBUG - ydb.connection.2439411  - 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-19 11:32:21,923 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint localhost:7058
2025-11-19 11:32:21,933 - DEBUG - ydb.table.SessionPool.2439411  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-19 11:32:21,933 - DEBUG - ydb.table.SessionPool.2439411  - subscribe: Subscribe waiter <Future at 0x7f63e1f238a0 state=pending>
2025-11-19 11:32:21,934 - DEBUG - ydb.table.SessionPool.2439411  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-19 11:32:21,934 - DEBUG - ydb.table.SessionPool.2439411  - _create: Created session <ydb.table.Session object at 0x7f63e1f22f40>
2025-11-19 11:32:21,934 - DEBUG - ydb.table.SessionPool.2439411  - _prepare: Preparing session <ydb.table.Session object at 0x7f63e1f22f40>
2025-11-19 11:32:21,934 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(CreateSession, 7f1c04bd-b626-4b7a-97b9-7c2894b69bb5, ghrun-c3mdp2mblq.auto.internal:14817): creating call state
2025-11-19 11:32:21,935 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(CreateSession, 7f1c04bd-b626-4b7a-97b9-7c2894b69bb5, ghrun-c3mdp2mblq.auto.internal:14817): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-19 11:32:21,945 - DEBUG - ydb.connection.2439411  - _on_response_callback: RpcState(CreateSession, 7f1c04bd-b626-4b7a-97b9-7c2894b69bb5, ghrun-c3mdp2mblq.auto.internal:14817): on response callback started
2025-11-19 11:32:21,950 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(CreateSession, 7f1c04bd-b626-4b7a-97b9-7c2894b69bb5, ghrun-c3mdp2mblq.auto.internal:14817): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NGJkZjc5MGEtZDAzM2NkZWEtYzJjYWVlNmMtY2YwNzcxNjA=" } } } }
2025-11-19 11:32:21,951 - DEBUG - ydb.table.SessionPool.2439411  - put: Put on session <ydb.table.Session object at 0x7f63e1f22f40>
2025-11-19 11:32:21,951 - DEBUG - ydb.table.SessionPool.2439411  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f63e1f22f40>
2025-11-19 11:32:21,951 - DEBUG - ydb.connection.2439411  - _on_response_callback: RpcState(CreateSession, 7f1c04bd-b626-4b7a-97b9-7c2894b69bb5, ghrun-c3mdp2mblq.auto.internal:14817): on response callback success
2025-11-19 11:32:21,953 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(ExecuteSchemeQuery, 17fa7bd5-ba76-4efe-8644-64e9ce828811, ghrun-c3mdp2mblq.auto.internal:14817): creating call state
2025-11-19 11:32:21,964 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(ExecuteSchemeQuery, 17fa7bd5-ba76-4efe-8644-64e9ce828811, ghrun-c3mdp2mblq.auto.internal:14817): request = { session_id: "ydb://session/3?node_id=50000&id=NGJkZjc5MGEtZDAzM2NkZWEtYzJjYWVlNmMtY2YwNzcxNjA=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-19 11:32:21,975 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(ExecuteSchemeQuery, 17fa7bd5-ba76-4efe-8644-64e9ce828811, ghrun-c3mdp2mblq.auto.internal:14817): 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-19 11:32:21,976 - DEBUG - ydb.table.SessionPool.2439411  - put: Put on session <ydb.table.Session object at 0x7f63e1f22f40>
2025-11-19 11:32:21,976 - DEBUG - __tests__.test_user_administration.2439411  - 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-19 11:32:21,976 - DEBUG - ydb.topic.2439411  - close: Close topic client
2025-11-19 11:32:21,977 - DEBUG - ydb.topic.2439411  - close: Topic client was closed
2025-11-19 11:32:21,977 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint localhost:7058
2025-11-19 11:32:22,077 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint ghrun-c3mdp2mblq.auto.internal:14817
2025-11-19 11:32:22,134 - INFO - ydb.pool.Discovery.2439411  - run: Successfully terminated discovery process
2025-11-19 11:32:22,138 - INFO - ya.test.2439411  - pytest_runtest_teardown: Test teardown
2025-11-19 11:32:22,139 - DEBUG - ydb.tests.library.fixtures.2439411  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-19 11:32:22,139 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2439411  - remove_database: /Root/test_user_administration
2025-11-19 11:32:22,139 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2439411  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-19 11:32:22,150 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2439411  - _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=1763551942143245&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-19 11:32:22,151 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2439411  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-19 11:32:22,659 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2439411  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-19 11:32:22,660 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2439411  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-19 11:32:22,668 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2439411  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-19 11:32:22,668 - DEBUG - ydb.tests.library.fixtures.2439411  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-19 11:32:34,674 - INFO - ydb.tests.library.harness.kikimr_runner.2439411  - stop: Stopped node localhost:14817/1
2025-11-19 11:32:34,674 - DEBUG - ydb.tests.library.fixtures.2439411  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-19 11:32:34,676 - INFO - ydb.tests.library.fixtures.2439411  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-19 11:32:51,682 - INFO - ydb.tests.library.harness.kikimr_runner.2439411  - stop: Stopped node localhost:7058/1
2025-11-19 11:32:51,683 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20182
2025-11-19 11:32:51,683 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12223
2025-11-19 11:32:51,683 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14268
2025-11-19 11:32:51,684 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15144
2025-11-19 11:32:51,684 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14817
2025-11-19 11:32:51,684 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19135
2025-11-19 11:32:51,685 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23599
2025-11-19 11:32:51,685 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13842
2025-11-19 11:32:51,686 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7058
2025-11-19 11:32:51,686 - DEBUG - library.python.filelock.2439411  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13622
