============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 12 items

test_alloc_default.py .....F.
test_dc_local.py .
test_result_limits.py ...

=================================== FAILURES ===================================
__________________ TestAlloc.test_mkql_not_increased[kikimr0] __________________
ydb/tests/fq/mem_alloc/test_alloc_default.py:370: in test_mkql_not_increased
    assert issues[0].message.startswith(
E   AssertionError: Incorrect message text
E   assert False
E    +  where False = <built-in method startswith of str object at 0x50c001335940>('Mkql memory limit exceeded, limit: 1048576')
E    +    where <built-in method startswith of str object at 0x50c001335940> = 'Output channel actor is unavailable (appeared 1 time at 2025-11-14T07:20:24.333518Z)'.startswith
E    +      where 'Output channel actor is unavailable (appeared 1 time at 2025-11-14T07:20:24.333518Z)' = message: "Output channel actor is unavailable (appeared 1 time at 2025-11-14T07:20:24.333518Z)"\nseverity: 1\n.message
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_mkql_not_increased[kikimr0]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/64424
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14366
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/v0ik/000e9c/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/18822
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/26123
DEBUG    ydb.connection:connection.py:295 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')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 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')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 5a0bf857-a48d-46b9-bf57-765876452cf9, localhost:2474): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 5a0bf857-a48d-46b9-bf57-765876452cf9, localhost:2474): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 5a0bf857-a48d-46b9-bf57-765876452cf9, localhost:2474): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-afpw3me37u.auto.internal" port: 2474 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" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-afpw3me37u.auto.internal:2474, location 1, ssl: False>]>
DEBUG    ydb.connection:connection.py:295 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')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:2474
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x504000499830 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x504000496af0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x504000496af0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, b98d394a-6057-4662-84c7-e61a764bbde4, ghrun-afpw3me37u.auto.internal:2474): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, b98d394a-6057-4662-84c7-e61a764bbde4, ghrun-afpw3me37u.auto.internal:2474): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, b98d394a-6057-4662-84c7-e61a764bbde4, ghrun-afpw3me37u.auto.internal:2474): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, b98d394a-6057-4662-84c7-e61a764bbde4, ghrun-afpw3me37u.auto.internal:2474): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=NjE3ZDQ0YjItYmVjNWU3YmItZjUwY2RmOTYtYjYxMmY1OGE=" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504000496af0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x504000496af0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 9768dc68-f9ff-4692-b989-13c0471c3d83, ghrun-afpw3me37u.auto.internal:2474): creating call state
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, b98d394a-6057-4662-84c7-e61a764bbde4, ghrun-afpw3me37u.auto.internal:2474): on response callback success
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 9768dc68-f9ff-4692-b989-13c0471c3d83, ghrun-afpw3me37u.auto.internal:2474): request = { session_id: "ydb://session/3?node_id=1&id=NjE3ZDQ0YjItYmVjNWU3YmItZjUwY2RmOTYtYjYxMmY1OGE=" path: "local/DbPoolStorage_44bf3cf2-785a-4577-9340-af85173b0881/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 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 9768dc68-f9ff-4692-b989-13c0471c3d83, ghrun-afpw3me37u.auto.internal:2474): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504000496af0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 9a826cbd-aee5-4bd6-8c27-110b8773b728, ghrun-afpw3me37u.auto.internal:2474): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 9a826cbd-aee5-4bd6-8c27-110b8773b728, ghrun-afpw3me37u.auto.internal:2474): request = { session_id: "ydb://session/3?node_id=1&id=NjE3ZDQ0YjItYmVjNWU3YmItZjUwY2RmOTYtYjYxMmY1OGE=" path: "local/DbPoolStorage_44bf3cf2-785a-4577-9340-af85173b0881/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 } } } } primary_key: "subject_type" primary_key: "subject_id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 9a826cbd-aee5-4bd6-8c27-110b8773b728, ghrun-afpw3me37u.auto.internal:2474): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504000496af0>
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 328c67bd-92ef-4b61-b173-f395e0feb1a8, ghrun-afpw3me37u.auto.internal:2474): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 328c67bd-92ef-4b61-b173-f395e0feb1a8, ghrun-afpw3me37u.auto.internal:2474): request = { session_id: "ydb://session/3?node_id=1&id=NjE3ZDQ0YjItYmVjNWU3YmItZjUwY2RmOTYtYjYxMmY1OGE=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_44bf3cf2-785a-4577-9340-af85173b0881\");\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 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, 328c67bd-92ef-4b61-b173-f395e0feb1a8, ghrun-afpw3me37u.auto.internal:2474): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504000496af0>
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/v0ik/000e9c/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/12022
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/6100
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/62548
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_mkql_not_increased.kikimr0/default/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/v0ik/000e9c/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/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_mkql_not_increased.kikimr0/default/node_1/logfile_yb7ogx7b.log --grpc-port=26123 --mon-port=12022 --ic-port=18822
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_mkql_not_increased.kikimr0/default/kikimr_configs/config.yaml', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_mkql_not_increased.kikimr0/default/node_1/logfile_yb7ogx7b.log', '--grpc-port=26123', '--mon-port=12022', '--ic-port=18822')' in '/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_mkql_not_increased.kikimr0/default/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 905966
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:26123/1
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:461 Cluster started and initialized
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_alloc_default.py::TestAlloc, test_name: test_mkql_not_increased[kikimr0])
DEBUG    root:kikimr_runner.py:283 Wait for node 1 to bootstrap
DEBUG    root:kikimr_runner.py:294 Node 1 has been bootstrapped
DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 0
DEBUG    root:control_plane.py:61 Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/test_mkql_not_increased_input"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

DEBUG    root:control_plane.py:45 Response: operation {
  ready: true
  status: SUCCESS
}

DEBUG    root:control_plane.py:49 Result: 
DEBUG    root:control_plane.py:61 Requesting CreateStream.
Database: "local".
Request:
stream_name: "/local/test_mkql_not_increased_output"
shard_count: 1
write_quota_kb_per_sec: 1024
retention_period_hours: 1

DEBUG    root:control_plane.py:45 Response: operation {
  ready: true
  status: SUCCESS
}

DEBUG    root:control_plane.py:49 Result: 
DEBUG    root:control_plane.py:45 Response: operation {
  ready: true
  status: SUCCESS
}

DEBUG    root:control_plane.py:49 Result: 
DEBUG    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            INSERT INTO myyds.`test_mkql_not_increased_output`\n            SELECT Data\n            FROM myyds.`test_mkql_not_increased_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "b205b276-7bc7-4b8e-9714-fb7bc82414a9"

DEBUG    root:fq_client.py:177 Result: query_id: "ptqudsesm141h9riqd9d"

DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsesm141h9riqd9d"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763104810
        nanos: 465685000
      }
      modified_at {
        seconds: 1763104810
        nanos: 465685000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudsesm141cpki404i-ptqudsesm141h9riqd9d"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763104810
      nanos: 465685000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`test_mkql_not_increased_output`\n            SELECT Data\n            FROM myyds.`test_mkql_not_increased_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
}

DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 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')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, de82a28d-5210-4510-b66d-0fc5738daf54, localhost:2474): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, de82a28d-5210-4510-b66d-0fc5738daf54, localhost:2474): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, de82a28d-5210-4510-b66d-0fc5738daf54, localhost:2474): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-afpw3me37u.auto.internal" port: 2474 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" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-afpw3me37u.auto.internal:2474, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:2474
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsesm141h9riqd9d"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763104810
        nanos: 465685000
      }
      modified_at {
        seconds: 1763104810
        nanos: 465685000
      }
      revision: 1
    }
    started_at {
      seconds: 1763104814
      nanos: 511000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsesm141cpki404i-ptqudsesm141h9riqd9d"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763104810
      nanos: 465685000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`test_mkql_not_increased_output`\n            SELECT Data\n            FROM myyds.`test_mkql_not_increased_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
  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\"}]},\"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\" \'\"myyds\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_input\" $3 \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"Endpoint\" \'\"localhost:2474\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $10 \'($7 $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsesm5026dbmou3p\") $9))\n(let $11 (SecureParam \'\"cluster:default_myyds\"))\n(let $12 (DqPqTopicSource $1 $5 $6 $10 $11 \'\"\" $4))\n(let $13 (DqStage \'((DqSource $2 $12)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($8))))\n  (let $19 (DqSourceWideWrap $17 $2 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200137))))\n(let $14 (DataSink \'\"pq\" \'\"myyds\"))\n(let $15 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_output\" $3 \'() $4))\n(let $16 (DqPqTopicSink $15 \'($7 $9) $11))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $13 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) (AsStruct)))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct)) (lambda \'($28 $29) (AsStruct)) $23 $23 (lambda \'($31 $32) (AsStruct)) (lambda \'($33 $34 $35) (AsStruct \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (ExtractMembers $24 $6))\n))) \'(\'(\'\"_logical_id\" \'200287)) \'((DqSink \'0 $14 $16))))) $14))\n)\n"
  }
}

DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_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"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000000']
DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsesm141h9riqd9d"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763104810
        nanos: 465685000
      }
      modified_at {
        seconds: 1763104810
        nanos: 465685000
      }
      revision: 1
    }
    started_at {
      seconds: 1763104814
      nanos: 511000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsesm141cpki404i-ptqudsesm141h9riqd9d"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1763104810
      nanos: 465685000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`test_mkql_not_increased_output`\n            SELECT Data\n            FROM myyds.`test_mkql_not_increased_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
  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\"}]},\"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.85s\",\"count\":2,\"avg\":\"0.42s\",\"max\":\"0.55s\",\"min\":\"0.29s\"},\"EgressRows\":{\"sum\":1,\"count\":1,\"avg\":1,\"max\":1,\"min\":1},\"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\" \'\"myyds\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_input\" $3 \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"Endpoint\" \'\"localhost:2474\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $10 \'($7 $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsesm5026dbmou3p\") $9))\n(let $11 (SecureParam \'\"cluster:default_myyds\"))\n(let $12 (DqPqTopicSource $1 $5 $6 $10 $11 \'\"\" $4))\n(let $13 (DqStage \'((DqSource $2 $12)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($8))))\n  (let $19 (DqSourceWideWrap $17 $2 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200137))))\n(let $14 (DataSink \'\"pq\" \'\"myyds\"))\n(let $15 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_output\" $3 \'() $4))\n(let $16 (DqPqTopicSink $15 \'($7 $9) $11))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $13 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) (AsStruct)))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct)) (lambda \'($28 $29) (AsStruct)) $23 $23 (lambda \'($31 $32) (AsStruct)) (lambda \'($33 $34 $35) (AsStruct \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (ExtractMembers $24 $6))\n))) \'(\'(\'\"_logical_id\" \'200287)) \'((DqSink \'0 $14 $16))))) $14))\n)\n"
  }
}

DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_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"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000001']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0012*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000002']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0013*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000003']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0014*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000004']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0015*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000005']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0016*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000006']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0017*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000007']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0018*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000008']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\021\"\0019*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000009']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00210*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000000a']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00211*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000000b']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00212*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000000c']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00213*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000000d']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00214*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000000e']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00215*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000000f']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00216*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000010']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00217*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000011']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00218*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000012']
DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsesm141h9riqd9d"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763104810
        nanos: 465685000
      }
      modified_at {
        seconds: 1763104810
        nanos: 465685000
      }
      revision: 1
    }
    started_at {
      seconds: 1763104814
      nanos: 511000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsesm141cpki404i-ptqudsesm141h9riqd9d"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1763104810
      nanos: 465685000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`test_mkql_not_increased_output`\n            SELECT Data\n            FROM myyds.`test_mkql_not_increased_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
  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\"}]},\"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.90s\",\"count\":2,\"avg\":\"0.45s\",\"max\":\"0.59s\",\"min\":\"0.31s\"},\"IngressBytes\":{\"sum\":108,\"count\":1,\"avg\":108,\"max\":108,\"min\":108},\"IngressRows\":{\"sum\":12,\"count\":1,\"avg\":12,\"max\":12,\"min\":12},\"InputBytes\":{\"sum\":150,\"count\":1,\"avg\":150,\"max\":150,\"min\":150},\"InputRows\":{\"sum\":10,\"count\":1,\"avg\":10,\"max\":10,\"min\":10},\"OutputBytes\":{\"sum\":180,\"count\":1,\"avg\":180,\"max\":180,\"min\":180},\"OutputRows\":{\"sum\":12,\"count\":1,\"avg\":12,\"max\":12,\"min\":12},\"EgressRows\":{\"sum\":3,\"count\":1,\"avg\":3,\"max\":3,\"min\":3},\"MaxMemoryUsage\":{\"sum\":786432,\"count\":2,\"avg\":393216,\"max\":524288,\"min\":262144},\"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\" \'\"myyds\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_input\" $3 \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"Endpoint\" \'\"localhost:2474\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $10 \'($7 $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsesm5026dbmou3p\") $9))\n(let $11 (SecureParam \'\"cluster:default_myyds\"))\n(let $12 (DqPqTopicSource $1 $5 $6 $10 $11 \'\"\" $4))\n(let $13 (DqStage \'((DqSource $2 $12)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($8))))\n  (let $19 (DqSourceWideWrap $17 $2 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200137))))\n(let $14 (DataSink \'\"pq\" \'\"myyds\"))\n(let $15 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_output\" $3 \'() $4))\n(let $16 (DqPqTopicSink $15 \'($7 $9) $11))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $13 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) (AsStruct)))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct)) (lambda \'($28 $29) (AsStruct)) $23 $23 (lambda \'($31 $32) (AsStruct)) (lambda \'($33 $34 $35) (AsStruct \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (ExtractMembers $24 $6))\n))) \'(\'(\'\"_logical_id\" \'200287)) \'((DqSink \'0 $14 $16))))) $14))\n)\n"
  }
}

DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00219*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000013']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00220*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000014']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00221*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000015']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00222*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000016']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00223*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000017']
DEBUG    root:fq_client.py:264 Result: ... (repeated, see above) ...
DEBUG    root:data_plane.py:35 Write topic test_mkql_not_increased_input. Response: operation {
  ready: true
  status: SUCCESS
  result {
    type_url: "type.googleapis.com/Ydb.DataStreams.V1.PutRecordsResult"
    value: "\010\001\032\022\"\00224*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000018']
DEBUG    root:fq_client.py:264 Result: query {
  meta {
    common {
      id: "ptqudsesm141h9riqd9d"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763104810
        nanos: 465685000
      }
      modified_at {
        seconds: 1763104810
        nanos: 465685000
      }
      revision: 1
    }
    started_at {
      seconds: 1763104814
      nanos: 511000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudsesm141cpki404i-ptqudsesm141h9riqd9d"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1763104810
      nanos: 465685000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            INSERT INTO myyds.`test_mkql_not_increased_output`\n            SELECT Data\n            FROM myyds.`test_mkql_not_increased_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            "
    syntax: YQL_V1
  }
  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\"}]},\"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}]}}"
  }
  transient_issue {
    message: "Output channel actor is unavailable (appeared 1 time at 2025-11-14T07:20:24.333518Z)"
    severity: 1
  }
  transient_issue {
    message: "Mkql memory limit exceeded, limit: 1048576, canAllocateExtraMemory: 1 (appeared 1 time at 2025-11-14T07:20:24.331679Z)"
    severity: 1
  }
  transient_issue {
    message: "Query failed with code OVERLOADED and will be restarted (RetryCount: 1) at 2025-11-14T07:20:24.375366Z"
    severity: 1
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":2,\"count\":2,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.94s\",\"count\":2,\"avg\":\"0.47s\",\"max\":\"0.61s\",\"min\":\"0.32s\"},\"IngressBytes\":{\"sum\":207,\"count\":1,\"avg\":207,\"max\":207,\"min\":207},\"IngressRows\":{\"sum\":23,\"count\":1,\"avg\":23,\"max\":23,\"min\":23},\"InputBytes\":{\"sum\":330,\"count\":1,\"avg\":330,\"max\":330,\"min\":330},\"InputRows\":{\"sum\":22,\"count\":1,\"avg\":22,\"max\":22,\"min\":22},\"OutputBytes\":{\"sum\":345,\"count\":1,\"avg\":345,\"max\":345,\"min\":345},\"OutputRows\":{\"sum\":23,\"count\":1,\"avg\":23,\"max\":23,\"min\":23},\"EgressRows\":{\"sum\":4,\"count\":1,\"avg\":4,\"max\":4,\"min\":4},\"MaxMemoryUsage\":{\"sum\":1310720,\"count\":2,\"avg\":655360,\"max\":1048576,\"min\":262144},\"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\" \'\"myyds\"))\n(let $3 \'(\'(\'\"PartitionsCount\" \'\"1\")))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_input\" $3 \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"Endpoint\" \'\"localhost:2474\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $10 \'($7 $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudsesm5026dbmou3p\") $9))\n(let $11 (SecureParam \'\"cluster:default_myyds\"))\n(let $12 (DqPqTopicSource $1 $5 $6 $10 $11 \'\"\" $4))\n(let $13 (DqStage \'((DqSource $2 $12)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($8))))\n  (let $19 (DqSourceWideWrap $17 $2 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200137))))\n(let $14 (DataSink \'\"pq\" \'\"myyds\"))\n(let $15 (PqTopic \'\"myyds\" \'\"local\" \'\"test_mkql_not_increased_output\" $3 \'() $4))\n(let $16 (DqPqTopicSink $15 \'($7 $9) $11))\n(return (Commit! (DqQuery! $1 \'((DqStage \'((DqCnHashShuffle (TDqOutput $13 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) (AsStruct)))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct)) (lambda \'($28 $29) (AsStruct)) $23 $23 (lambda \'($31 $32) (AsStruct)) (lambda \'($33 $34 $35) (AsStruct \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0))\n  (return (ExtractMembers $24 $6))\n))) \'(\'(\'\"_logical_id\" \'200287)) \'((DqSink \'0 $14 $16))))) $14))\n)\n"
  }
}
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:26123/1
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 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')]
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/62548
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6100
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12022
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26123
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18822
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 22ff7ab7-e5d2-4b48-925f-62b0199b82f9, localhost:2474): creating call state
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14366
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 22ff7ab7-e5d2-4b48-925f-62b0199b82f9, localhost:2474): request = { database: "local" }
============================== slowest durations ===============================
183.08s teardown test_result_limits.py::TestResultLimits::test_many_rows
59.96s call     test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
55.58s call     test_result_limits.py::TestResultLimits::test_large_row
41.88s call     test_result_limits.py::TestResultLimits::test_many_rows
30.20s call     test_alloc_default.py::TestAlloc::test_hard_limit[kikimr0]
28.20s call     test_result_limits.py::TestResultLimits::test_quotas[kikimr0]
26.43s call     test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
24.57s call     test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0]
23.15s call     test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
23.00s call     test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
19.15s call     test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
19.02s call     test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
12.03s teardown test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
12.01s teardown test_result_limits.py::TestResultLimits::test_large_row
7.04s teardown test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0]
7.03s teardown test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
7.02s teardown test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
7.02s teardown test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
7.01s teardown test_alloc_default.py::TestAlloc::test_hard_limit[kikimr0]
3.02s teardown test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
3.01s teardown test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
1.30s setup    test_result_limits.py::TestResultLimits::test_large_row
0.98s setup    test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
0.94s setup    test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
0.74s setup    test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
0.72s setup    test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
0.70s setup    test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
0.64s setup    test_result_limits.py::TestResultLimits::test_quotas[kikimr0]
0.62s setup    test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0]
0.60s setup    test_alloc_default.py::TestAlloc::test_hard_limit[kikimr0]
0.53s setup    test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
0.44s setup    test_result_limits.py::TestResultLimits::test_many_rows
=========================== short test summary info ============================
FAILED test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0] - AssertionError: Incorrect message text
assert False
 +  where False = <built-in method startswith of str object at 0x50c001335940>('Mkql memory limit exceeded, limit: 1048576')
 +    where <built-in method startswith of str object at 0x50c001335940> = 'Output channel actor is unavailable (appeared 1 time at 2025-11-14T07:20:24.333518Z)'.startswith
 +      where 'Output channel actor is unavailable (appeared 1 time at 2025-11-14T07:20:24.333518Z)' = message: "Output channel actor is unavailable (appeared 1 time at 2025-11-14T07:20:24.333518Z)"\nseverity: 1\n.message
!!!!!!!!!!!!!! _pytest.outcomes.Exit: Graceful shutdown requested !!!!!!!!!!!!!!
=================== 1 failed, 10 passed in 617.44s (0:10:17) ===================

Traceback (most recent call last):
  File "library/python/testing/yatest_common/yatest/common/process.py", line 384, in wait
    wait_for(
  File "library/python/testing/yatest_common/yatest/common/process.py", line 764, in wait_for
    raise TimeoutError(truncate(message, MAX_MESSAGE_LEN))
yatest.common.process.TimeoutError: ...d '['/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/ydb-tests-fq-mem_alloc', '--basetemp', '/home/runner/.ya/build/build_root/v0ik/000e9c/tmp', '--capture', 'no', '-c', 'pkg:library.python.pytest:pytest.yatest.ini', '-p', 'no:factor', '--doctest-modules', '--ya-trace', '/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/ytest.report.trace', '--build-root', '/home/runner/.ya/build/build_root/v0ik/000e9c', '--source-root', '/home/runner/.ya/build/build_root/v0ik/000e9c/environment/arcadia', '--output-dir', '/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff', '--durations', '0', '--project-path', 'ydb/tests/fq/mem_alloc', '--test-tool-bin', '/home/runner/.ya/tools/v4/8067063302/test_tool', '--ya-version', '2', '--collect-cores', '--sanitizer-extra-checks', '--build-type', 'release', '--tb', 'short', '--dep-root', 'ydb/tests/fq/mem_alloc', '--flags', 'APPLE_SDK_LOCAL=yes', '--flags', 'CFLAGS=-fno-omit-frame-pointer -Wno-unknown-argument', '--flags', 'DEBUGINFO_LINES_ONLY=yes', '--flags', 'DISABLE_FLAKE8_MIGRATIONS=yes', '--flags', 'OPENSOURCE=yes', '--flags', 'SANITIZER_TYPE=address', '--flags', 'TESTS_REQUESTED=yes', '--flags', 'USE_AIO=static', '--flags', 'USE_CLANG_CL=yes', '--flags', 'USE_EAT_MY_DATA=yes', '--flags', 'USE_ICONV=static', '--flags', 'USE_IDN=static', '--flags', 'USE_PREBUILT_TOOLS=no', '--sanitize', 'address']' stopped by 600 seconds timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "devtools/ya/test/programs/test_tool/run_test/run_test.py", line 1749, in main
    res.wait(check_exit_code=False, timeout=run_timeout, on_timeout=timeout_callback)
  File "library/python/testing/yatest_common/yatest/common/process.py", line 398, in wait
    raise ExecutionTimeoutError(self, str(e))
yatest.common.process.ExecutionTimeoutError: (("...d '['/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/ydb-tests-fq-mem_alloc', '--basetemp', '/home/runner/.ya/build/build_root/v0ik/000e9c/tmp', '--capture', 'no', '-c', 'pkg:library.python.pytest:pytest.yatest.ini', '-p', 'no:factor', '--doctest-modules', '--ya-trace', '/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/ytest.report.trace', '--build-root', '/home/runner/.ya/build/build_root/v0ik/000e9c', '--source-root', '/home/runner/.ya/build/build_root/v0ik/000e9c/environment/arcadia', '--output-dir', '/home/runner/.ya/build/build_root/v0ik/000e9c/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff', '--durations', '0', '--project-path', 'ydb/tests/fq/mem_alloc', '--test-tool-bin', '/home/runner/.ya/tools/v4/8067063302/test_tool', '--ya-version', '2', '--collect-cores', '--sanitizer-extra-checks', '--build-type', 'release', '--tb', 'short', '--dep-root', 'ydb/tests/fq/mem_alloc', '--flags', 'APPLE_SDK_LOCAL=yes', '--flags', 'CFLAGS=-fno-omit-frame-pointer -Wno-unknown-argument', '--flags', 'DEBUGINFO_LINES_ONLY=yes', '--flags', 'DISABLE_FLAKE8_MIGRATIONS=yes', '--flags', 'OPENSOURCE=yes', '--flags', 'SANITIZER_TYPE=address', '--flags', 'TESTS_REQUESTED=yes', '--flags', 'USE_AIO=static', '--flags', 'USE_CLANG_CL=yes', '--flags', 'USE_EAT_MY_DATA=yes', '--flags', 'USE_ICONV=static', '--flags', 'USE_IDN=static', '--flags', 'USE_PREBUILT_TOOLS=no', '--sanitize', 'address']' stopped by 600 seconds timeout",), {})
