2025-11-11 14:16:10,041 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:16:10,042 - INFO - ya.test - pytest_runtest_setup: test_state_load_mode[v1]
2025-11-11 14:16:10,042 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 14:16:10,042 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-11 14:16:10,044 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/18293
2025-11-11 14:16:10,045 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13373
2025-11-11 14:16:10,097 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd
2025-11-11 14:16:10,098 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5063
2025-11-11 14:16:10,099 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/6931
2025-11-11 14:16:10,099 - 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-11 14:16:10,101 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 14:16:10,102 - 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-11 14:16:10,110 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-11-11 14:16:10,110 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, dc3b32f7-a7b8-434f-888c-6568f46e5a32, localhost:23791): creating call state
2025-11-11 14:16:10,110 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, dc3b32f7-a7b8-434f-888c-6568f46e5a32, localhost:23791): request = { database: "local" }
2025-11-11 14:16:10,114 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, dc3b32f7-a7b8-434f-888c-6568f46e5a32, localhost:23791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-vb3yoermsa.auto.internal" port: 23791 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" location: "1" node_id: 1 } self_location: "1" } } } }
2025-11-11 14:16:10,115 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-vb3yoermsa.auto.internal:23791, location 1, ssl: False>]>
2025-11-11 14:16:10,115 - 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-11 14:16:10,120 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:23791
2025-11-11 14:16:10,121 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-11 14:16:10,121 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fd4a561dfa0 state=pending>
2025-11-11 14:16:10,121 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
2025-11-11 14:16:10,122 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fd4a561d960>
2025-11-11 14:16:10,122 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fd4a561d960>
2025-11-11 14:16:10,122 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 94f1e869-4ae3-494c-a0a4-a914253f8647, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:16:10,122 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 94f1e869-4ae3-494c-a0a4-a914253f8647, ghrun-vb3yoermsa.auto.internal:23791): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-11 14:16:10,124 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 94f1e869-4ae3-494c-a0a4-a914253f8647, ghrun-vb3yoermsa.auto.internal:23791): on response callback started
2025-11-11 14:16:10,125 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 94f1e869-4ae3-494c-a0a4-a914253f8647, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=ZjA3ZjBjNmYtNWFiNTg2MjktNWRiOTNjYWItM2VjNDcyMGU=" } } } }
2025-11-11 14:16:10,125 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a561d960>
2025-11-11 14:16:10,125 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fd4a561d960>
2025-11-11 14:16:10,126 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 167ac1b4-e04d-4af7-9a40-69973f8c7f69, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:16:10,126 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 94f1e869-4ae3-494c-a0a4-a914253f8647, ghrun-vb3yoermsa.auto.internal:23791): on response callback success
2025-11-11 14:16:10,127 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 167ac1b4-e04d-4af7-9a40-69973f8c7f69, ghrun-vb3yoermsa.auto.internal:23791): request = { session_id: "ydb://session/3?node_id=1&id=ZjA3ZjBjNmYtNWFiNTg2MjktNWRiOTNjYWItM2VjNDcyMGU=" path: "local/DbPoolStorage_20b6561b-531d-484d-93f2-097b6afdccb3/tenants" columns { name: "tenant" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } columns { name: "common" type { optional_type { item { type_id: BOOL } } } } columns { name: "state" type { optional_type { item { type_id: UINT32 } } } } columns { name: "state_time" type { optional_type { item { type_id: TIMESTAMP } } } } primary_key: "tenant" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 14:16:10,145 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 167ac1b4-e04d-4af7-9a40-69973f8c7f69, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:16:10,145 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a561d960>
2025-11-11 14:16:10,146 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 8d770e4d-5af8-4ae6-8e8b-edfdafceedd4, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:16:10,147 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 8d770e4d-5af8-4ae6-8e8b-edfdafceedd4, ghrun-vb3yoermsa.auto.internal:23791): request = { session_id: "ydb://session/3?node_id=1&id=ZjA3ZjBjNmYtNWFiNTg2MjktNWRiOTNjYWItM2VjNDcyMGU=" path: "local/DbPoolStorage_20b6561b-531d-484d-93f2-097b6afdccb3/mappings" columns { name: "subject_type" type { optional_type { item { type_id: STRING } } } } columns { name: "subject_id" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } columns { name: "node" type { optional_type { item { type_id: STRING } } } } primary_key: "subject_type" primary_key: "subject_id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 14:16:10,169 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 8d770e4d-5af8-4ae6-8e8b-edfdafceedd4, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS } }
2025-11-11 14:16:10,169 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a561d960>
2025-11-11 14:16:10,170 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, f1bcc8df-49b7-446b-9b05-e1e5252e1cca, ghrun-vb3yoermsa.auto.internal:23791): creating call state
2025-11-11 14:16:10,171 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, f1bcc8df-49b7-446b-9b05-e1e5252e1cca, ghrun-vb3yoermsa.auto.internal:23791): request = { session_id: "ydb://session/3?node_id=1&id=ZjA3ZjBjNmYtNWFiNTg2MjktNWRiOTNjYWItM2VjNDcyMGU=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_20b6561b-531d-484d-93f2-097b6afdccb3\");\n            UPSERT INTO tenants (tenant, vtenant, common, state, state_time) values(\"/default\", \"/default\", true, 0, CurrentUtcTimestamp());\n                " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 14:16:10,187 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, f1bcc8df-49b7-446b-9b05-e1e5252e1cca, ghrun-vb3yoermsa.auto.internal:23791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-11 14:16:10,188 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fd4a561d960>
2025-11-11 14:16:10,248 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd
2025-11-11 14:16:10,250 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/25751
2025-11-11 14:16:10,251 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/21585
2025-11-11 14:16:10,251 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/18327
2025-11-11 14:16:10,252 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_state_load_mode.v1/default/kikimr_configs"
2025-11-11 14:16:10,253 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/default --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_state_load_mode.v1/default/node_1/logfile_v_1i2rt9.log --grpc-port=6931 --mon-port=25751 --ic-port=5063
2025-11-11 14:16:10,253 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_state_load_mode.v1/default/kikimr_configs"
2025-11-11 14:16:10,254 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --tenant=/default --node-kind=yq --log-file-name=/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_state_load_mode.v1/default/node_1/logfile_v_1i2rt9.log --grpc-port=6931 --mon-port=25751 --ic-port=5063
2025-11-11 14:16:10,255 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_state_load_mode.v1/default/kikimr_configs/config.yaml', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_state_load_mode.v1/default/node_1/logfile_v_1i2rt9.log', '--grpc-port=6931', '--mon-port=25751', '--ic-port=5063')' in '/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/fq/yds/test-results/py3test/testing_out_stuff/chunk47/testing_out_stuff/test_yq_streaming.py.TestYqStreaming.test_state_load_mode.v1/default/node_1' (no wait)
2025-11-11 14:16:10,257 - DEBUG - ya.test - execute: Command pid: 941006
2025-11-11 14:16:10,258 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:6931/1
2025-11-11 14:16:10,259 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out.0
2025-11-11 14:16:10,260 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err.0
2025-11-11 14:16:10,260 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001788/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-11-11 14:16:10,261 - DEBUG - ya.test - execute: Command pid: 941007
2025-11-11 14:16:13,061 - DEBUG - ya.test - _save_outputs: Command (pid 941007) rc: 0
2025-11-11 14:16:13,062 - DEBUG - ya.test - _save_outputs: Command (pid 941007) elapsed time (sec): 2.79939341545105
2025-11-11 14:16:13,062 - DEBUG - ya.test - _save_outputs: Command (pid 941007) idrss: 0
2025-11-11 14:16:13,062 - DEBUG - ya.test - _save_outputs: Command (pid 941007) inblock: 0
2025-11-11 14:16:13,062 - DEBUG - ya.test - _save_outputs: Command (pid 941007) isrss: 0
2025-11-11 14:16:13,062 - DEBUG - ya.test - _save_outputs: Command (pid 941007) ixrss: 0
2025-11-11 14:16:13,063 - DEBUG - ya.test - _save_outputs: Command (pid 941007) majflt: 0
2025-11-11 14:16:13,063 - DEBUG - ya.test - _save_outputs: Command (pid 941007) maxrss: 541036
2025-11-11 14:16:13,063 - DEBUG - ya.test - _save_outputs: Command (pid 941007) minflt: 16174
2025-11-11 14:16:13,063 - DEBUG - ya.test - _save_outputs: Command (pid 941007) msgrcv: 0
2025-11-11 14:16:13,063 - DEBUG - ya.test - _save_outputs: Command (pid 941007) msgsnd: 0
2025-11-11 14:16:13,063 - DEBUG - ya.test - _save_outputs: Command (pid 941007) nivcsw: 510
2025-11-11 14:16:13,064 - DEBUG - ya.test - _save_outputs: Command (pid 941007) nsignals: 0
2025-11-11 14:16:13,064 - DEBUG - ya.test - _save_outputs: Command (pid 941007) nswap: 0
2025-11-11 14:16:13,064 - DEBUG - ya.test - _save_outputs: Command (pid 941007) nvcsw: 32
2025-11-11 14:16:13,064 - DEBUG - ya.test - _save_outputs: Command (pid 941007) oublock: 8
2025-11-11 14:16:13,064 - DEBUG - ya.test - _save_outputs: Command (pid 941007) stime: 2.485313
2025-11-11 14:16:13,064 - DEBUG - ya.test - _save_outputs: Command (pid 941007) utime: 0.111311
2025-11-11 14:16:13,065 - DEBUG - ya.test - _save_outputs: Command (pid 941007) wtime: 2.801
2025-11-11 14:16:13,065 - DEBUG - ya.test - _save_outputs: Command (pid 941007) output:
Git info:
    Commit: 8d73c3b672aec01e659c446142c7a17d47fb7b86
    Branch: 
    Author: Daniil Cherednik <dan.cherednik@gmail.com>
    Summary: Merge ff13479d27d4896ae8745f863d645cb15399e80c into 8a4d64c49a7679189be0d410f35b930fb517fe75

Other info:
    Build by: runner
    Top src dir: /home/runner/actions_runner/_work/ydb/ydb
    Top build dir: /home/runner/.ya/build
    Hostname: ghrun-vb3yoermsa
    Host information: 
        Linux ghrun-vb3yoermsa 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64

    
Build info:
    Compiler: /home/runner/.ya/tools/v4/10226725676/bin/clang++
    Compiler version: 
        clang version 20.1.8
        Target: x86_64-unknown-linux-gnu
        Thread model: posix
        InstalledDir: /home/runner/.ya/tools/v4/10226725676/bin
    Compile flags: -Xclang -fdebug-compilation-dir -Xclang /tmp -pipe -m64 -O3 -gline-tables-only -fno-common -ffunction-sections -fdata-sections -fsized-deallocation -fexceptions -fuse-init-array -fcolor-diagnostics -faligned-allocation -Werror -Wall -Wextra -Wno-parentheses -Wno-implicit-const-int-float-conversion -Wno-unknown-warning-option -D_THREAD_SAFE -D_PTHREADS -D_REENTRANT -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE -D__LONG_LONG_SUPPORTED -fno-omit-frame-pointer -Wno-unknown-argument -UNDEBUG -Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member -Wno-deprecated-this-capture -Wno-missing-designated-field-initializers -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof -Wno-alias-template-in-declaration-name -Wno-cast-function-type-mismatch -Wno-explicit-specialization-storage-class -Wno-extraneous-template-head -Wno-missing-template-arg-list-after-template-kw -Wno-nontrivial-memcall -Wno-strict-primary-template-shadow -DCATBOOST_OPENSOURCE=yes -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mcx16 -UNDEBUG -Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member -Wno-deprecated-this-capture -Wno-missing-designated-field-initializers -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof -Wno-alias-template-in-declaration-name -Wno-cast-function-type-mismatch -Wno-explicit-specialization-storage-class -Wno-extraneous-template-head -Wno-missing-template-arg-list-after-template-kw -Wno-nontrivial-memcall -Wno-strict-primary-template-shadow -std=c++20 -Wimport-preprocessor-directive-pedantic -Woverloaded-virtual -Wno-ambiguous-reversed-operator -Wno-defaulted-function-deleted -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-deprecated-enum-float-conversion -Wno-deprecated-volatile -Wno-pessimizing-move -Wno-undefined-var-template -nostdinc++ -DCATBOOST_OPENSOURCE=yes -nostdinc++

2025-11-11 14:16:13,073 - DEBUG - ya.test - _save_outputs: Command (pid 941007) errors:

2025-11-11 14:16:13,074 - INFO - ydb.tests.library.harness.kikimr_runner - start: Node 1 version:
Git info:
    Commit: 8d73c3b672aec01e659c446142c7a17d47fb7b86
    Branch: 
    Author: Daniil Cherednik <dan.cherednik@gmail.com>
    Summary: Merge ff13479d27d4896ae8745f863d645cb15399e80c into 8a4d64c49a7679189be0d410f35b930fb517fe75
2025-11-11 14:16:13,074 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-11-11 14:16:13,090 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_yq_streaming.py::TestYqStreaming, test_name: test_state_load_mode[v1])
2025-11-11 14:16:13,092 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_state_load_mode_v1_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:16:13,119 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:13,120 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:13,121 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/pq_test_state_load_mode_v1_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:16:13,139 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:13,139 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:13,159 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:13,159 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:16,268 - DEBUG - root - create_query_impl: Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            INSERT INTO myyds1.`pq_test_state_load_mode_v1_output`\n                SELECT STREAM (Data || Data) ?? \"\" As Data FROM myyds1.`pq_test_state_load_mode_v1_input`;\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "2788fbd5-34cb-4c0c-b034-4b344714e330"

2025-11-11 14:16:16,417 - DEBUG - root - create_query_impl: Result: query_id: "ptqudslmqo7rsvr8nuts"

2025-11-11 14:16:16,453 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870576
        nanos: 287764000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudslmqo7rsrqg860q-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870576
      nanos: 287764000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds1.`pq_test_state_load_mode_v1_output`\n                SELECT STREAM (Data || Data) ?? \"\" As Data FROM myyds1.`pq_test_state_load_mode_v1_input`;\n            "
    syntax: YQL_V1
  }
}

2025-11-11 14:16:16,964 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:17,469 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:17,973 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870576
        nanos: 287764000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870577
      nanos: 507000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudslmqo7rsrqg860q-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762870576
      nanos: 287764000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds1.`pq_test_state_load_mode_v1_output`\n                SELECT STREAM (Data || Data) ?? \"\" As Data FROM myyds1.`pq_test_state_load_mode_v1_input`;\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":1}},\"Basic\":{\"nodes\":[{\"id\":3,\"level\":1,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":2,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":3,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds1\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_input\" $3 \'() $4))\n(let $6 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $7 \'(\'\"SharedReading\" \'\"0\"))\n(let $8 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $9 \'($6 $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmqokklf4fhgsl\") $8))\n(let $10 (SecureParam \'\"cluster:default_myyds1\"))\n(let $11 (DqPqTopicSource $1 $5 \'(\'\"Data\") $9 $10 \'\"\" $4 \'\"\"))\n(let $12 (DataSink \'\"pq\" \'\"myyds1\"))\n(let $13 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_output\" $3 \'() $4))\n(let $14 (DqPqTopicSink $13 \'($6 $8) $10))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqSource $2 $11)) (lambda \'($15) (block \'(\n  (let $16 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $17 (DqSourceWideWrap $15 $2 $4 $16))\n  (return (FlatMap (NarrowMap $17 (lambda \'($18) (AsStruct \'(\'\"Data\" $18)))) (lambda \'($19) (block \'(\n    (let $20 (Member $19 \'\"Data\"))\n    (return (Just (AsStruct \'(\'\"Data\" (Concat $20 $20)))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'209536)) \'((DqSink \'\"0\" $12 $14))))) $12))\n)\n"
  }
}

2025-11-11 14:16:18,529 - DEBUG - root - write_stream: Write topic pq_test_state_load_mode_v1_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0010*\014shard-000000"
  }
}

2025-11-11 14:16:18,529 - INFO - root - write_stream: Data was written to pq_test_state_load_mode_v1_input: ['{"Data" = "hello";}']
2025-11-11 14:16:18,530 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001788/ydb/tests/tools/pq_read/pq_read
2025-11-11 14:16:18,531 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to pq_read.err.0
2025-11-11 14:16:18,531 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/tools/pq_read/pq_read', '--endpoint', 'localhost:23791', '--database', 'local', '--topic-path', 'pq_test_state_load_mode_v1_output', '--consumer-name', 'pq_test_state_load_mode_v1_consumer', '--disable-cluster-discovery', '--messages-count', '1', '--timeout', '30000ms', '--commit-after-processing']' in 'None' (waiting)
2025-11-11 14:16:18,532 - DEBUG - ya.test - execute: Command pid: 946805
2025-11-11 14:16:18,633 - DEBUG - ya.test - _wait: Process resource usage is not available as process finished before wait4 was called
2025-11-11 14:16:18,633 - DEBUG - ya.test - _save_outputs: Command (pid 946805) rc: 0
2025-11-11 14:16:18,633 - DEBUG - ya.test - _save_outputs: Command (pid 946805) elapsed time (sec): 0.10071921348571777
2025-11-11 14:16:18,633 - DEBUG - ya.test - _save_outputs: Command (pid 946805) wtime: 0.102
2025-11-11 14:16:18,634 - DEBUG - ya.test - _save_outputs: Command (pid 946805) output:
None
2025-11-11 14:16:18,634 - DEBUG - ya.test - _save_outputs: Command (pid 946805) errors:
2025-11-11T14:16:18.550196Z :INFO: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Starting read session
2025-11-11T14:16:18.550249Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Starting session to cluster null (localhost:23791)
2025-11-11T14:16:18.550734Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:18.550750Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:18.550757Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] Reconnecting session to cluster null in 0.000000s
2025-11-11T14:16:18.555495Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] Successfully connected. Initializing session
2025-11-11T14:16:18.556574Z :INFO: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] Server session id: pq_test_state_load_mode_v1_consumer_1_4_13302533065922571215_v1
2025-11-11T14:16:18.556657Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:18.557989Z :INFO: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] Confirm partition stream create. Partition stream id: 1. Cluster: "". Topic: "pq_test_state_load_mode_v1_output". Partition: 0. Read offset: (NULL)
2025-11-11T14:16:18.558820Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:18.558882Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 0 (0-0)
2025-11-11T14:16:18.558927Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-11-11T14:16:18.559032Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] Commit offsets [0, 1). Partition stream id: 1
2025-11-11T14:16:18.559125Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] The application data is transferred to the client. Number of messages 1, size 38 bytes
2025-11-11T14:16:18.562094Z :DEBUG: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] [null] Committed response: cookies { assign_id: 1 partition_cookie: 1 }
Closing session. Got 1 messages
2025-11-11T14:16:18.562231Z :INFO: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Closing read session. Close timeout: 5.000000s
2025-11-11T14:16:18.562280Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:pq_test_state_load_mode_v1_output:0:1:0:1
2025-11-11T14:16:18.562291Z :INFO: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Counters: { Errors: 0 CurrentSessionLifetimeMs: 12 BytesRead: 38 MessagesRead: 1 BytesReadCompressed: 38 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
Session closed
2025-11-11T14:16:18.562529Z :NOTICE: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
Stopping driver...
Driver stopped. Exit
Session closed event: SessionClosed { Status: SUCCESS Issues: "<main>: Error: Session was gracefully closed " }
2025-11-11T14:16:18.562660Z :INFO: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Closing read session. Close timeout: 0.000000s
2025-11-11T14:16:18.562667Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:pq_test_state_load_mode_v1_output:0:1:0:1
2025-11-11T14:16:18.562673Z :INFO: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Counters: { Errors: 0 CurrentSessionLifetimeMs: 12 BytesRead: 38 MessagesRead: 1 BytesReadCompressed: 38 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-11T14:16:18.562683Z :NOTICE: [local] [local] [7cad5018-6e9f5c1e-1d23d4f2-b51ee89f] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }

2025-11-11 14:16:18,634 - INFO - root - read_stream: Data was read from pq_test_state_load_mode_v1_output: ['{"Data" = "hello";}{"Data" = "hello";}']
2025-11-11 14:16:18,639 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870576
        nanos: 287764000
      }
      revision: 1
    }
    started_at {
      seconds: 1762870577
      nanos: 507000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudslmqo7rsrqg860q-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870576
      nanos: 287764000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds1.`pq_test_state_load_mode_v1_output`\n                SELECT STREAM (Data || Data) ?? \"\" As Data FROM myyds1.`pq_test_state_load_mode_v1_input`;\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":1}},\"Basic\":{\"nodes\":[{\"id\":3,\"level\":1,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":2,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":3,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds1\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_input\" $3 \'() $4))\n(let $6 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $7 \'(\'\"SharedReading\" \'\"0\"))\n(let $8 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $9 \'($6 $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmqokklf4fhgsl\") $8))\n(let $10 (SecureParam \'\"cluster:default_myyds1\"))\n(let $11 (DqPqTopicSource $1 $5 \'(\'\"Data\") $9 $10 \'\"\" $4 \'\"\"))\n(let $12 (DataSink \'\"pq\" \'\"myyds1\"))\n(let $13 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_output\" $3 \'() $4))\n(let $14 (DqPqTopicSink $13 \'($6 $8) $10))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqSource $2 $11)) (lambda \'($15) (block \'(\n  (let $16 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $17 (DqSourceWideWrap $15 $2 $4 $16))\n  (return (FlatMap (NarrowMap $17 (lambda \'($18) (AsStruct \'(\'\"Data\" $18)))) (lambda \'($19) (block \'(\n    (let $20 (Member $19 \'\"Data\"))\n    (return (Just (AsStruct \'(\'\"Data\" (Concat $20 $20)))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'209536)) \'((DqSink \'\"0\" $12 $14))))) $12))\n)\n"
  }
}

2025-11-11 14:16:18,804 - DEBUG - root - control_query: Result: 
2025-11-11 14:16:18,809 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870578
        nanos: 744014000
      }
      revision: 2
    }
    started_at {
      seconds: 1762870577
      nanos: 507000000
    }
    execute_mode: RUN
    status: ABORTING_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudslmqo7rsrqg860q-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870576
      nanos: 287764000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds1.`pq_test_state_load_mode_v1_output`\n                SELECT STREAM (Data || Data) ?? \"\" As Data FROM myyds1.`pq_test_state_load_mode_v1_input`;\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":1}},\"Basic\":{\"nodes\":[{\"id\":3,\"level\":1,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":2,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":3,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds1\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_input\" $3 \'() $4))\n(let $6 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $7 \'(\'\"SharedReading\" \'\"0\"))\n(let $8 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $9 \'($6 $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmqokklf4fhgsl\") $8))\n(let $10 (SecureParam \'\"cluster:default_myyds1\"))\n(let $11 (DqPqTopicSource $1 $5 \'(\'\"Data\") $9 $10 \'\"\" $4 \'\"\"))\n(let $12 (DataSink \'\"pq\" \'\"myyds1\"))\n(let $13 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_output\" $3 \'() $4))\n(let $14 (DqPqTopicSink $13 \'($6 $8) $10))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqSource $2 $11)) (lambda \'($15) (block \'(\n  (let $16 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $17 (DqSourceWideWrap $15 $2 $4 $16))\n  (return (FlatMap (NarrowMap $17 (lambda \'($18) (AsStruct \'(\'\"Data\" $18)))) (lambda \'($19) (block \'(\n    (let $20 (Member $19 \'\"Data\"))\n    (return (Just (AsStruct \'(\'\"Data\" (Concat $20 $20)))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'209536)) \'((DqSink \'\"0\" $12 $14))))) $12))\n)\n"
  }
}

2025-11-11 14:16:19,314 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870578
        nanos: 744014000
      }
      revision: 2
    }
    started_at {
      seconds: 1762870577
      nanos: 507000000
    }
    finished_at {
      seconds: 1762870578
      nanos: 886000000
    }
    execute_mode: RUN
    status: ABORTED_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudslmqo7rsrqg860q-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870576
      nanos: 287764000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds1.`pq_test_state_load_mode_v1_output`\n                SELECT STREAM (Data || Data) ?? \"\" As Data FROM myyds1.`pq_test_state_load_mode_v1_input`;\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"},{\"Name\":\"FlatMap\"}]}},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":1}},\"Basic\":{\"nodes\":[{\"id\":3,\"level\":1,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":2,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":3,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  issue {
    message: "ABORTED_BY_USER"
    severity: 1
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":1,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds1\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_input\" $3 \'() $4))\n(let $6 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $7 \'(\'\"SharedReading\" \'\"0\"))\n(let $8 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $9 \'($6 $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmqokklf4fhgsl\") $8))\n(let $10 (SecureParam \'\"cluster:default_myyds1\"))\n(let $11 (DqPqTopicSource $1 $5 \'(\'\"Data\") $9 $10 \'\"\" $4 \'\"\"))\n(let $12 (DataSink \'\"pq\" \'\"myyds1\"))\n(let $13 (PqTopic \'\"myyds1\" \'\"local\" \'\"pq_test_state_load_mode_v1_output\" $3 \'() $4))\n(let $14 (DqPqTopicSink $13 \'($6 $8) $10))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqSource $2 $11)) (lambda \'($15) (block \'(\n  (let $16 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $17 (DqSourceWideWrap $15 $2 $4 $16))\n  (return (FlatMap (NarrowMap $17 (lambda \'($18) (AsStruct \'(\'\"Data\" $18)))) (lambda \'($19) (block \'(\n    (let $20 (Member $19 \'\"Data\"))\n    (return (Just (AsStruct \'(\'\"Data\" (Concat $20 $20)))))\n  )))))\n))) \'(\'(\'\"_logical_id\" \'209536)) \'((DqSink \'\"0\" $12 $14))))) $12))\n)\n"
  }
}

2025-11-11 14:16:19,317 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:19,318 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/test_state_load_mode2_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:16:19,333 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:19,334 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:19,335 - DEBUG - root - create_stream: Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/test_state_load_mode2_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

2025-11-11 14:16:19,350 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:19,351 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:19,365 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-11 14:16:19,365 - DEBUG - root - _get_and_check_result: Result: 
2025-11-11 14:16:19,366 - DEBUG - root - modify_query: Request: query_id: "ptqudslmqo7rsvr8nuts"
content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  text: "\n            INSERT INTO myyds1.`test_state_load_mode2_output`\n                SELECT STREAM (Data || CAST(COUNT(*) as string)) ?? \"\" as cnt\n                FROM myyds1.`test_state_load_mode2_input`\n                GROUP BY Data, HOP(Just(CurrentUtcTimestamp(TableRow())), \"PT1S\", \"PT1S\", \"PT1S\")\n                ;\n            "
}
execute_mode: RUN
state_load_mode: EMPTY

2025-11-11 14:16:19,629 - DEBUG - root - modify_query: Result: 
2025-11-11 14:16:19,633 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870579
        nanos: 508119000
      }
      revision: 3
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 3
    last_job_id: "ptjudslmql5j1sr2e39a-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870579
      nanos: 508119000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    text: "\n            INSERT INTO myyds1.`test_state_load_mode2_output`\n                SELECT STREAM (Data || CAST(COUNT(*) as string)) ?? \"\" as cnt\n                FROM myyds1.`test_state_load_mode2_input`\n                GROUP BY Data, HOP(Just(CurrentUtcTimestamp(TableRow())), \"PT1S\", \"PT1S\", \"PT1S\")\n                ;\n            "
  }
}

2025-11-11 14:16:20,138 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-11 14:16:20,645 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870579
        nanos: 508119000
      }
      revision: 3
    }
    started_at {
      seconds: 1762870580
      nanos: 426000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 3
    last_job_id: "ptjudslmql5j1sr2e39a-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870579
      nanos: 508119000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    text: "\n            INSERT INTO myyds1.`test_state_load_mode2_output`\n                SELECT STREAM (Data || CAST(COUNT(*) as string)) ?? \"\" as cnt\n                FROM myyds1.`test_state_load_mode2_input`\n                GROUP BY Data, HOP(Just(CurrentUtcTimestamp(TableRow())), \"PT1S\", \"PT1S\", \"PT1S\")\n                ;\n            "
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds1\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $4 (DataType \'String))\n(let $5 (StructType \'(\'\"Data\" $4)))\n(let $6 (PqTopic \'\"myyds1\" \'\"local\" \'\"test_state_load_mode2_input\" $3 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $9 \'(\'\"SharedReading\" \'0))\n(let $10 \'(\'\"AddBearerToToken\" \'1))\n(let $11 \'($8 $9 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmqokklf4fhgsl\") $10))\n(let $12 (SecureParam \'\"cluster:default_myyds1\"))\n(let $13 (DqPqTopicSource $1 $6 $7 $11 $12 \'\"\" $5 \'\"\"))\n(let $14 (DqStage \'((DqSource $2 $13)) (lambda \'($18) (block \'(\n  (let $19 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($9))))\n  (let $20 (DqSourceWideWrap $18 $2 $5 $19))\n  (return (NarrowMap $20 (lambda \'($21) (AsStruct \'(\'\"Data\" $21)))))\n))) \'(\'(\'\"_logical_id\" \'209793))))\n(let $15 (DataSink \'\"pq\" \'\"myyds1\"))\n(let $16 (PqTopic \'\"myyds1\" \'\"local\" \'\"test_state_load_mode2_output\" $3 \'() $5))\n(let $17 (DqPqTopicSink $16 \'($8 $10) $12))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $14 \'0) $7)) (lambda \'($22) (block \'(\n  (let $23 (Interval \'1000000))\n  (let $24 (lambda \'($31) $31))\n  (let $25 (MultiHoppingCore (FromFlow $22) (lambda \'($26) (Member $26 \'\"Data\")) (lambda \'($27) (Just (CurrentUtcTimestamp (DependsOn $27)))) $23 $23 $23 \'true (lambda \'($28) (AsStruct \'(\'Count0 (Uint64 \'1)))) (lambda \'($29 $30) (AsStruct \'(\'Count0 (Inc (Member $30 \'Count0))))) $24 $24 (lambda \'($32 $33) (AsStruct \'(\'Count0 (AggrAdd (Member $32 \'Count0) (Member $33 \'Count0))))) (lambda \'($34 $35 $36) (AsStruct \'(\'Count0 (Member $35 \'Count0)) \'(\'\"Data\" $34) \'(\'\"_yql_time\" $36))) \'0 \'\"_yql_time\"))\n  (return (FlatMap (ExtractMembers $25 \'(\'Count0 \'\"Data\")) (lambda \'($37) (Just (AsStruct \'(\'\"cnt\" (Concat (Member $37 \'\"Data\") (SafeCast (Member $37 \'Count0) $4))))))))\n))) \'(\'(\'\"_logical_id\" \'210074)) \'((DqSink \'0 $15 $17))))) $15))\n)\n"
  }
}

2025-11-11 14:16:21,210 - DEBUG - root - write_stream: Write topic test_state_load_mode2_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0010*\014shard-000000"
  }
}

2025-11-11 14:16:21,210 - INFO - root - write_stream: Data was written to test_state_load_mode2_input: ['hello new query']
2025-11-11 14:16:26,216 - DEBUG - root - write_stream: Write topic test_state_load_mode2_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0011*\014shard-000000"
  }
}

2025-11-11 14:16:26,216 - INFO - root - write_stream: Data was written to test_state_load_mode2_input: ['hello new query']
2025-11-11 14:16:26,217 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/knsf/001788/ydb/tests/tools/pq_read/pq_read
2025-11-11 14:16:26,218 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to pq_read.err.1
2025-11-11 14:16:26,219 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/knsf/001788/ydb/tests/tools/pq_read/pq_read', '--endpoint', 'localhost:23791', '--database', 'local', '--topic-path', 'test_state_load_mode2_output', '--consumer-name', 'test_state_load_mode2_consumer', '--disable-cluster-discovery', '--messages-count', '1', '--timeout', '30000ms', '--commit-after-processing']' in 'None' (waiting)
2025-11-11 14:16:26,220 - DEBUG - ya.test - execute: Command pid: 951841
2025-11-11 14:16:26,420 - DEBUG - ya.test - _wait: Process resource usage is not available as process finished before wait4 was called
2025-11-11 14:16:26,421 - DEBUG - ya.test - _save_outputs: Command (pid 951841) rc: 0
2025-11-11 14:16:26,421 - DEBUG - ya.test - _save_outputs: Command (pid 951841) elapsed time (sec): 0.20073723793029785
2025-11-11 14:16:26,421 - DEBUG - ya.test - _save_outputs: Command (pid 951841) wtime: 0.202
2025-11-11 14:16:26,422 - DEBUG - ya.test - _save_outputs: Command (pid 951841) output:
None
2025-11-11 14:16:26,422 - DEBUG - ya.test - _save_outputs: Command (pid 951841) errors:
2025-11-11T14:16:26.250537Z :INFO: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Starting read session
2025-11-11T14:16:26.250583Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Starting session to cluster null (localhost:23791)
2025-11-11T14:16:26.251264Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:26.251277Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:26.251286Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] Reconnecting session to cluster null in 0.000000s
2025-11-11T14:16:26.259410Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] Successfully connected. Initializing session
2025-11-11T14:16:26.266694Z :INFO: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] Server session id: test_state_load_mode2_consumer_1_6_10282651406179934792_v1
2025-11-11T14:16:26.266794Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:26.268396Z :INFO: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] Confirm partition stream create. Partition stream id: 1. Cluster: "". Topic: "test_state_load_mode2_output". Partition: 0. Read offset: (NULL)
2025-11-11T14:16:26.274519Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-11-11T14:16:26.274586Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 0 (0-0)
2025-11-11T14:16:26.274641Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-11-11T14:16:26.274786Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] Commit offsets [0, 1). Partition stream id: 1
2025-11-11T14:16:26.274926Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] The application data is transferred to the client. Number of messages 1, size 16 bytes
2025-11-11T14:16:26.277759Z :DEBUG: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] [null] Committed response: cookies { assign_id: 1 partition_cookie: 1 }
Closing session. Got 1 messages
2025-11-11T14:16:26.277892Z :INFO: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Closing read session. Close timeout: 5.000000s
2025-11-11T14:16:26.278640Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:test_state_load_mode2_output:0:1:0:1
2025-11-11T14:16:26.278665Z :INFO: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Counters: { Errors: 0 CurrentSessionLifetimeMs: 27 BytesRead: 16 MessagesRead: 1 BytesReadCompressed: 16 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
Session closed
2025-11-11T14:16:26.281470Z :NOTICE: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
Stopping driver...
Driver stopped. Exit
Session closed event: SessionClosed { Status: SUCCESS Issues: "<main>: Error: Session was gracefully closed " }
2025-11-11T14:16:26.285599Z :INFO: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Closing read session. Close timeout: 0.000000s
2025-11-11T14:16:26.285616Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:test_state_load_mode2_output:0:1:0:1
2025-11-11T14:16:26.285626Z :INFO: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Counters: { Errors: 0 CurrentSessionLifetimeMs: 35 BytesRead: 16 MessagesRead: 1 BytesReadCompressed: 16 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-11T14:16:26.285639Z :NOTICE: [local] [local] [568e088b-811c7a4f-3f64a4d3-55995531] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }

2025-11-11 14:16:26,422 - INFO - root - read_stream: Data was read from test_state_load_mode2_output: ['hello new query1']
2025-11-11 14:16:26,465 - DEBUG - root - control_query: Result: 
2025-11-11 14:16:26,469 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870586
        nanos: 460345000
      }
      revision: 4
    }
    started_at {
      seconds: 1762870580
      nanos: 426000000
    }
    execute_mode: RUN
    status: ABORTING_BY_USER
    last_job_query_revision: 3
    last_job_id: "ptjudslmql5j1sr2e39a-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870579
      nanos: 508119000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    text: "\n            INSERT INTO myyds1.`test_state_load_mode2_output`\n                SELECT STREAM (Data || CAST(COUNT(*) as string)) ?? \"\" as cnt\n                FROM myyds1.`test_state_load_mode2_input`\n                GROUP BY Data, HOP(Just(CurrentUtcTimestamp(TableRow())), \"PT1S\", \"PT1S\", \"PT1S\")\n                ;\n            "
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":2,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds1\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $4 (DataType \'String))\n(let $5 (StructType \'(\'\"Data\" $4)))\n(let $6 (PqTopic \'\"myyds1\" \'\"local\" \'\"test_state_load_mode2_input\" $3 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $9 \'(\'\"SharedReading\" \'0))\n(let $10 \'(\'\"AddBearerToToken\" \'1))\n(let $11 \'($8 $9 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmqokklf4fhgsl\") $10))\n(let $12 (SecureParam \'\"cluster:default_myyds1\"))\n(let $13 (DqPqTopicSource $1 $6 $7 $11 $12 \'\"\" $5 \'\"\"))\n(let $14 (DqStage \'((DqSource $2 $13)) (lambda \'($18) (block \'(\n  (let $19 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($9))))\n  (let $20 (DqSourceWideWrap $18 $2 $5 $19))\n  (return (NarrowMap $20 (lambda \'($21) (AsStruct \'(\'\"Data\" $21)))))\n))) \'(\'(\'\"_logical_id\" \'209793))))\n(let $15 (DataSink \'\"pq\" \'\"myyds1\"))\n(let $16 (PqTopic \'\"myyds1\" \'\"local\" \'\"test_state_load_mode2_output\" $3 \'() $5))\n(let $17 (DqPqTopicSink $16 \'($8 $10) $12))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $14 \'0) $7)) (lambda \'($22) (block \'(\n  (let $23 (Interval \'1000000))\n  (let $24 (lambda \'($31) $31))\n  (let $25 (MultiHoppingCore (FromFlow $22) (lambda \'($26) (Member $26 \'\"Data\")) (lambda \'($27) (Just (CurrentUtcTimestamp (DependsOn $27)))) $23 $23 $23 \'true (lambda \'($28) (AsStruct \'(\'Count0 (Uint64 \'1)))) (lambda \'($29 $30) (AsStruct \'(\'Count0 (Inc (Member $30 \'Count0))))) $24 $24 (lambda \'($32 $33) (AsStruct \'(\'Count0 (AggrAdd (Member $32 \'Count0) (Member $33 \'Count0))))) (lambda \'($34 $35 $36) (AsStruct \'(\'Count0 (Member $35 \'Count0)) \'(\'\"Data\" $34) \'(\'\"_yql_time\" $36))) \'0 \'\"_yql_time\"))\n  (return (FlatMap (ExtractMembers $25 \'(\'Count0 \'\"Data\")) (lambda \'($37) (Just (AsStruct \'(\'\"cnt\" (Concat (Member $37 \'\"Data\") (SafeCast (Member $37 \'Count0) $4))))))))\n))) \'(\'(\'\"_logical_id\" \'210074)) \'((DqSink \'0 $15 $17))))) $15))\n)\n"
  }
}

2025-11-11 14:16:26,978 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudslmqo7rsvr8nuts"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762870576
        nanos: 287764000
      }
      modified_at {
        seconds: 1762870586
        nanos: 460345000
      }
      revision: 4
    }
    started_at {
      seconds: 1762870580
      nanos: 426000000
    }
    finished_at {
      seconds: 1762870586
      nanos: 617000000
    }
    execute_mode: RUN
    status: ABORTED_BY_USER
    last_job_query_revision: 3
    last_job_id: "ptjudslmql5j1sr2e39a-ptqudslmqo7rsvr8nuts"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762870579
      nanos: 508119000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    text: "\n            INSERT INTO myyds1.`test_state_load_mode2_output`\n                SELECT STREAM (Data || CAST(COUNT(*) as string)) ?? \"\" as cnt\n                FROM myyds1.`test_state_load_mode2_input`\n                GROUP BY Data, HOP(Just(CurrentUtcTimestamp(TableRow())), \"PT1S\", \"PT1S\", \"PT1S\")\n                ;\n            "
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":5,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":3,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[5]},{\"Id\":2,\"Name\":\"DqQuery!\",\"DependsOn\":[3]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[2]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqQuery!\":1,\"DqStage\":2}},\"Basic\":{\"nodes\":[{\"id\":5,\"level\":1,\"name\":\"DqStage #5\",\"type\":\"op\"},{\"id\":3,\"level\":2,\"name\":\"DqStage #3\",\"type\":\"op\"},{\"id\":2,\"level\":3,\"name\":\"DqQuery!\",\"type\":\"op\"},{\"id\":1,\"level\":4,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":5,\"target\":3},{\"source\":3,\"target\":2},{\"source\":2,\"target\":1}]}}"
  }
  issue {
    message: "ABORTED_BY_USER"
    severity: 1
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.12s\",\"count\":2,\"avg\":\"63ms\",\"max\":\"68ms\",\"min\":\"57ms\"},\"IngressBytes\":{\"sum\":15,\"count\":1,\"avg\":15,\"max\":15,\"min\":15},\"IngressRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"InputBytes\":{\"sum\":21,\"count\":1,\"avg\":21,\"max\":21,\"min\":21},\"InputRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"OutputBytes\":{\"sum\":21,\"count\":1,\"avg\":21,\"max\":21,\"min\":21},\"OutputRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"EgressRows\":{\"sum\":6,\"count\":1,\"avg\":6,\"max\":6,\"min\":6},\"MaxMemoryUsage\":{\"sum\":327680,\"count\":2,\"avg\":163840,\"max\":196608,\"min\":131072},\"IngressQueuedBytes\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0},\"IngressQueuedRows\":{\"sum\":0,\"count\":2,\"avg\":0,\"max\":0,\"min\":0}}}"
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSource \'\"pq\" \'\"myyds1\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'1)))\n(let $4 (DataType \'String))\n(let $5 (StructType \'(\'\"Data\" $4)))\n(let $6 (PqTopic \'\"myyds1\" \'\"local\" \'\"test_state_load_mode2_input\" $3 \'() $5))\n(let $7 \'(\'\"Data\"))\n(let $8 \'(\'\"Endpoint\" \'\"localhost:23791\"))\n(let $9 \'(\'\"SharedReading\" \'0))\n(let $10 \'(\'\"AddBearerToToken\" \'1))\n(let $11 \'($8 $9 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudslmqokklf4fhgsl\") $10))\n(let $12 (SecureParam \'\"cluster:default_myyds1\"))\n(let $13 (DqPqTopicSource $1 $6 $7 $11 $12 \'\"\" $5 \'\"\"))\n(let $14 (DqStage \'((DqSource $2 $13)) (lambda \'($18) (block \'(\n  (let $19 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($9))))\n  (let $20 (DqSourceWideWrap $18 $2 $5 $19))\n  (return (NarrowMap $20 (lambda \'($21) (AsStruct \'(\'\"Data\" $21)))))\n))) \'(\'(\'\"_logical_id\" \'209793))))\n(let $15 (DataSink \'\"pq\" \'\"myyds1\"))\n(let $16 (PqTopic \'\"myyds1\" \'\"local\" \'\"test_state_load_mode2_output\" $3 \'() $5))\n(let $17 (DqPqTopicSink $16 \'($8 $10) $12))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $14 \'0) $7)) (lambda \'($22) (block \'(\n  (let $23 (Interval \'1000000))\n  (let $24 (lambda \'($31) $31))\n  (let $25 (MultiHoppingCore (FromFlow $22) (lambda \'($26) (Member $26 \'\"Data\")) (lambda \'($27) (Just (CurrentUtcTimestamp (DependsOn $27)))) $23 $23 $23 \'true (lambda \'($28) (AsStruct \'(\'Count0 (Uint64 \'1)))) (lambda \'($29 $30) (AsStruct \'(\'Count0 (Inc (Member $30 \'Count0))))) $24 $24 (lambda \'($32 $33) (AsStruct \'(\'Count0 (AggrAdd (Member $32 \'Count0) (Member $33 \'Count0))))) (lambda \'($34 $35 $36) (AsStruct \'(\'Count0 (Member $35 \'Count0)) \'(\'\"Data\" $34) \'(\'\"_yql_time\" $36))) \'0 \'\"_yql_time\"))\n  (return (FlatMap (ExtractMembers $25 \'(\'Count0 \'\"Data\")) (lambda \'($37) (Just (AsStruct \'(\'\"cnt\" (Concat (Member $37 \'\"Data\") (SafeCast (Member $37 \'Count0) $4))))))))\n))) \'(\'(\'\"_logical_id\" \'210074)) \'((DqSink \'0 $15 $17))))) $15))\n)\n"
  }
}

2025-11-11 14:16:26,980 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-11 14:16:33,985 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:6931/1
2025-11-11 14:16:33,987 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18327
2025-11-11 14:16:33,987 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21585
2025-11-11 14:16:33,987 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25751
2025-11-11 14:16:33,988 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6931
2025-11-11 14:16:33,988 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5063
2025-11-11 14:16:33,988 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13373
