============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/gszy/0003ee/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.F.
test_dc_local.py .
test_scheduling.py s
test_result_limits.py ...

=================================== FAILURES ===================================
____________________ TestAlloc.test_alloc_and_free[kikimr0] ____________________
ydb/tests/fq/mem_alloc/test_alloc_default.py:287: in test_alloc_and_free
    assert (
E   AssertionError: Incorrect Alloc
E   assert 4294967296 == (0 * 1073741824)
E    +  where 4294967296 = <bound method BaseTenant.get_mkql_allocated of <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0>>(1)
E    +    where <bound method BaseTenant.get_mkql_allocated of <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0>> = <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0>.get_mkql_allocated
E    +      where <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0> = <ydb.tests.tools.fq_runner.kikimr_runner.StreamingOverKikimr object at 0x50400291d730>.control_plane
E    +  and   1073741824 = <ydb.tests.tools.fq_runner.kikimr_runner.StreamingOverKikimr object at 0x50400291d730>.mkql_initial_memory_limit
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_alloc_and_free[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/19834
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/30223
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/gszy/0003ee/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5531
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2134
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, 0ac0a27e-99b9-4b5c-b1cc-753ea26e184c, localhost:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 0ac0a27e-99b9-4b5c-b1cc-753ea26e184c, localhost:24791): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 0ac0a27e-99b9-4b5c-b1cc-753ea26e184c, localhost:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nrdermh7bq.auto.internal" port: 24791 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" 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-nrdermh7bq.auto.internal:24791, 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:24791
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 0x504002d292b0 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 0x504002d28b30>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x504002d28b30>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, c0534f58-2de4-4c4e-b823-74c85594860a, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, c0534f58-2de4-4c4e-b823-74c85594860a, ghrun-nrdermh7bq.auto.internal:24791): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, c0534f58-2de4-4c4e-b823-74c85594860a, ghrun-nrdermh7bq.auto.internal:24791): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, c0534f58-2de4-4c4e-b823-74c85594860a, ghrun-nrdermh7bq.auto.internal:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=YTUzNDM1NjYtYTY1ZWIxMzAtYWUzMWVjYjctODYxMzQyMzg=" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504002d28b30>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x504002d28b30>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, c0534f58-2de4-4c4e-b823-74c85594860a, ghrun-nrdermh7bq.auto.internal:24791): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, f7a47472-4e86-49be-b406-8c078e046320, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, f7a47472-4e86-49be-b406-8c078e046320, ghrun-nrdermh7bq.auto.internal:24791): request = { session_id: "ydb://session/3?node_id=1&id=YTUzNDM1NjYtYTY1ZWIxMzAtYWUzMWVjYjctODYxMzQyMzg=" path: "local/DbPoolStorage_40704db6-a31d-4e36-89c9-db7cc8ddb533/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, f7a47472-4e86-49be-b406-8c078e046320, ghrun-nrdermh7bq.auto.internal:24791): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504002d28b30>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, c3d9e0ad-6a6e-42dc-8393-7b065b73b8f8, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, c3d9e0ad-6a6e-42dc-8393-7b065b73b8f8, ghrun-nrdermh7bq.auto.internal:24791): request = { session_id: "ydb://session/3?node_id=1&id=YTUzNDM1NjYtYTY1ZWIxMzAtYWUzMWVjYjctODYxMzQyMzg=" path: "local/DbPoolStorage_40704db6-a31d-4e36-89c9-db7cc8ddb533/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 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, c3d9e0ad-6a6e-42dc-8393-7b065b73b8f8, ghrun-nrdermh7bq.auto.internal:24791): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x504002d28b30>
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, b124a947-d243-45ed-89e8-777ab8f2beac, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, b124a947-d243-45ed-89e8-777ab8f2beac, ghrun-nrdermh7bq.auto.internal:24791): request = { session_id: "ydb://session/3?node_id=1&id=YTUzNDM1NjYtYTY1ZWIxMzAtYWUzMWVjYjctODYxMzQyMzg=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_40704db6-a31d-4e36-89c9-db7cc8ddb533\");\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, b124a947-d243-45ed-89e8-777ab8f2beac, ghrun-nrdermh7bq.auto.internal:24791): 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 0x504002d28b30>
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/gszy/0003ee/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/20546
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5360
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/17640
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/gszy/0003ee/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_alloc_and_free.kikimr0/default/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/gszy/0003ee/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/gszy/0003ee/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_alloc_and_free.kikimr0/default/node_1/logfile_4nbdcy4x.log --grpc-port=2134 --mon-port=20546 --ic-port=5531
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/gszy/0003ee/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/gszy/0003ee/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_alloc_and_free.kikimr0/default/kikimr_configs/config.yaml', '--node=1', '--tenant=/default', '--node-kind=yq', '--log-file-name=/home/runner/.ya/build/build_root/gszy/0003ee/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_alloc_and_free.kikimr0/default/node_1/logfile_4nbdcy4x.log', '--grpc-port=2134', '--mon-port=20546', '--ic-port=5531')' in '/home/runner/.ya/build/build_root/gszy/0003ee/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_alloc_and_free.kikimr0/default/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 1308990
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:2134/1
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:446 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_alloc_and_free[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/select_alloc_and_free_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    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, 25d8751a-2d13-4489-bf80-d14b52f5ccfb, localhost:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 25d8751a-2d13-4489-bf80-d14b52f5ccfb, localhost:24791): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 25d8751a-2d13-4489-bf80-d14b52f5ccfb, localhost:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nrdermh7bq.auto.internal" port: 24791 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" 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-nrdermh7bq.auto.internal:24791, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:24791
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    root:fq_client.py:167 Request: content {
  type: STREAMING
  name: "simple"
  acl {
    visibility: PRIVATE
  }
  limits {
    execution_timeout {
    }
  }
  text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_alloc_and_free_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
  syntax: YQL_V1
}
execute_mode: RUN
idempotency_key: "13e34b57-d6b3-46f6-8588-7faaceef88fa"

DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 1f11542b-1013-4d39-aa39-4a8bef33890e, localhost:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 1f11542b-1013-4d39-aa39-4a8bef33890e, localhost:24791): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 1f11542b-1013-4d39-aa39-4a8bef33890e, localhost:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nrdermh7bq.auto.internal" port: 24791 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" 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-nrdermh7bq.auto.internal:24791, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:24791
DEBUG    root:fq_client.py:177 Result: query_id: "ptqudrv8qs8tcjc31hp0"

DEBUG    root:fq_client.py:281 Result: query {
  meta {
    common {
      id: "ptqudrv8qs8tcjc31hp0"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763641518
        nanos: 688527000
      }
      modified_at {
        seconds: 1763641518
        nanos: 688527000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudrv8qs8tbmn8ui9r-ptqudrv8qs8tcjc31hp0"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763641518
      nanos: 688527000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_alloc_and_free_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
}

DEBUG    root:fq_client.py:281 Result: ... (repeated, see above) ...
DEBUG    root:fq_client.py:281 Result: query {
  meta {
    common {
      id: "ptqudrv8qs8tcjc31hp0"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763641518
        nanos: 688527000
      }
      modified_at {
        seconds: 1763641518
        nanos: 688527000
      }
      revision: 1
    }
    started_at {
      seconds: 1763641522
      nanos: 158000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudrv8qs8tbmn8ui9r-ptqudrv8qs8tcjc31hp0"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763641518
      nanos: 688527000
    }
  }
  content {
    type: STREAMING
    name: "simple"
    acl {
      visibility: PRIVATE
    }
    limits {
      execution_timeout {
      }
    }
    text: "\n            SELECT COUNT(*)\n            FROM myyds.`select_alloc_and_free_input`\n            GROUP BY HOP(Just(CurrentUtcTimestamp()), \"PT10S\", \"PT10S\", \"PT10S\"), Data\n            LIMIT 1\n            "
    syntax: YQL_V1
  }
  plan {
    json: "{\"Detailed\":{\"Operations\":[{\"Id\":12,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"DqSourceWideWrap\"},{\"Name\":\"NarrowMap\"}]}},{\"Id\":10,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"FromFlow\"},{\"Name\":\"MultiHoppingCore\"},{\"Name\":\"ExtractMembers\"},{\"Name\":\"Take\"}]},\"DependsOn\":[12]},{\"Id\":8,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[{\"Name\":\"Take\"},{\"Name\":\"FlatMap\"}]},\"DependsOn\":[10]},{\"Id\":6,\"Name\":\"DqStage\",\"Streams\":{\"Program\":[]},\"DependsOn\":[8]},{\"Id\":3,\"Name\":\"ResPull!\",\"DependsOn\":[6]},{\"Id\":1,\"Name\":\"Commit!\",\"DependsOn\":[3]}],\"OperationRoot\":1,\"Providers\":[],\"OperationStats\":{\"Commit!\":1,\"DqStage\":4,\"ResPull!\":1}},\"Basic\":{\"nodes\":[{\"id\":12,\"level\":1,\"name\":\"DqStage #12\",\"type\":\"op\"},{\"id\":10,\"level\":2,\"name\":\"DqStage #10\",\"type\":\"op\"},{\"id\":8,\"level\":3,\"name\":\"DqStage #8\",\"type\":\"op\"},{\"id\":6,\"level\":4,\"name\":\"DqStage #6\",\"type\":\"op\"},{\"id\":3,\"level\":5,\"name\":\"ResPull!\",\"type\":\"op\"},{\"id\":1,\"level\":6,\"name\":\"Commit!\",\"type\":\"op\"}],\"links\":[{\"source\":12,\"target\":10},{\"source\":10,\"target\":8},{\"source\":8,\"target\":6},{\"source\":6,\"target\":3},{\"source\":3,\"target\":1}]}}"
  }
  result_set_meta {
    column {
      name: "column0"
      type {
        type_id: UINT64
      }
    }
  }
  ast {
    data: "(\n(let $1 (Configure! world (DataSource \'\"config\") \'\"DqEngine\" \'\"force\"))\n(let $2 (DataSink \'result))\n(let $3 (DataSource \'\"pq\" \'\"myyds\"))\n(let $4 (StructType \'(\'\"Data\" (DataType \'String))))\n(let $5 (PqTopic \'\"myyds\" \'\"local\" \'\"select_alloc_and_free_input\" \'(\'(\'\"PartitionsCount\" \'1)) \'() $4))\n(let $6 \'(\'\"Data\"))\n(let $7 \'(\'\"SharedReading\" \'0))\n(let $8 \'(\'(\'\"Endpoint\" \'\"localhost:24791\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudrv8r08knlvvufcn\") \'(\'\"AddBearerToToken\" \'1)))\n(let $9 (DqPqTopicSource world $5 $6 $8 (SecureParam \'\"cluster:default_myyds\") \'\"\" $4 \'\"\"))\n(let $10 (DqStage \'((DqSource $3 $9)) (lambda \'($17) (block \'(\n  (let $18 \'(\'(\'\"format\" \'\"raw\") \'(\'\"formatSettings\" \'(\'(\'\"data.datetime.formatname\" \'\"POSIX\") \'(\'\"data.timestamp.formatname\" \'\"POSIX\"))) \'(\'\"settings\" \'($7))))\n  (let $19 (DqSourceWideWrap $17 $3 $4 $18))\n  (return (NarrowMap $19 (lambda \'($20) (AsStruct \'(\'\"Data\" $20)))))\n))) \'(\'(\'\"_logical_id\" \'200480))))\n(let $11 (Uint64 \'1))\n(let $12 (DqStage \'((DqCnHashShuffle (TDqOutput $10 \'0) $6)) (lambda \'($21) (block \'(\n  (let $22 (Interval \'10000000))\n  (let $23 (lambda \'($30) $30))\n  (let $24 (MultiHoppingCore (FromFlow $21) (lambda \'($25) (Member $25 \'\"Data\")) (lambda \'($26) (Just (CurrentUtcTimestamp))) $22 $22 $22 \'true (lambda \'($27) (AsStruct \'(\'Count0 $11))) (lambda \'($28 $29) (AsStruct \'(\'Count0 (Inc (Member $29 \'Count0))))) $23 $23 (lambda \'($31 $32) (AsStruct \'(\'Count0 (AggrAdd (Member $31 \'Count0) (Member $32 \'Count0))))) (lambda \'($33 $34 $35) (AsStruct \'(\'Count0 (Member $34 \'Count0)) \'(\'\"Data\" $33) \'(\'\"_yql_time\" $35))) \'0 \'\"_yql_time\"))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200757))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200824))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200867))))\n(let $15 \'(\'(\'type) \'(\'autoref) \'(\'columns \'(\'\"column0\"))))\n(let $16 (ResPull! $1 $2 (Key) (DqCnResult (TDqOutput $14 \'0) \'()) $15 \'\"dq\"))\n(return (Commit! (Commit! $16 $2) (DataSink \'\"pq\" \'\"myyds\")))\n)\n"
  }
}

DEBUG    root:kikimr_runner.py:250 MQKL node 1 = 4294967296
---------------------------- 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:2134/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17640
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5360
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20546
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2134
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5531
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30223
__________________ TestAlloc.test_mkql_not_increased[kikimr0] __________________
ydb/tests/fq/mem_alloc/test_alloc_default.py:374: in test_mkql_not_increased
    assert issues[0].issue_code == 0, "Incorrect issue code" + issues[0].message
E   AssertionError: Incorrect issue codeMkql memory limit exceeded, limit: 1048576, canAllocateExtraMemory: 1
E   assert 2029 == 0
E    +  where 2029 = message: "Mkql memory limit exceeded, limit: 1048576, canAllocateExtraMemory: 1"\nissue_code: 2029\nseverity: 1\n.issue_code
------------------------------ 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/4057
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/9189
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/gszy/0003ee/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7423
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13228
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, 754900be-614e-45f9-94c2-9439cb192256, localhost:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 754900be-614e-45f9-94c2-9439cb192256, localhost:24791): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 754900be-614e-45f9-94c2-9439cb192256, localhost:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nrdermh7bq.auto.internal" port: 24791 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" 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-nrdermh7bq.auto.internal:24791, 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:24791
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 0x5040030e84f0 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 0x5040030ee1b0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x5040030ee1b0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 360f2bd4-a5b9-4908-b98b-f96205e2658a, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 360f2bd4-a5b9-4908-b98b-f96205e2658a, ghrun-nrdermh7bq.auto.internal:24791): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 360f2bd4-a5b9-4908-b98b-f96205e2658a, ghrun-nrdermh7bq.auto.internal:24791): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 360f2bd4-a5b9-4908-b98b-f96205e2658a, ghrun-nrdermh7bq.auto.internal:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=NzEwYjFjYzUtZGY5MWVkOGMtZTFjMTBjNDgtZjU2YjI5NWY=" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x5040030ee1b0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x5040030ee1b0>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 360f2bd4-a5b9-4908-b98b-f96205e2658a, ghrun-nrdermh7bq.auto.internal:24791): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, c2ba70ce-ccec-44cf-aa8c-4cbb9eb16aa0, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, c2ba70ce-ccec-44cf-aa8c-4cbb9eb16aa0, ghrun-nrdermh7bq.auto.internal:24791): request = { session_id: "ydb://session/3?node_id=1&id=NzEwYjFjYzUtZGY5MWVkOGMtZTFjMTBjNDgtZjU2YjI5NWY=" path: "local/DbPoolStorage_16c3c16d-c701-4ac1-bab9-c2c131a7c0ed/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, c2ba70ce-ccec-44cf-aa8c-4cbb9eb16aa0, ghrun-nrdermh7bq.auto.internal:24791): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x5040030ee1b0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, b6bb361b-eb34-4b02-ad35-fbb0f5e977d8, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, b6bb361b-eb34-4b02-ad35-fbb0f5e977d8, ghrun-nrdermh7bq.auto.internal:24791): request = { session_id: "ydb://session/3?node_id=1&id=NzEwYjFjYzUtZGY5MWVkOGMtZTFjMTBjNDgtZjU2YjI5NWY=" path: "local/DbPoolStorage_16c3c16d-c701-4ac1-bab9-c2c131a7c0ed/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 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, b6bb361b-eb34-4b02-ad35-fbb0f5e977d8, ghrun-nrdermh7bq.auto.internal:24791): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x5040030ee1b0>
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 623fbaa8-5630-4b1f-8895-58b2e4d78c11, ghrun-nrdermh7bq.auto.internal:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 623fbaa8-5630-4b1f-8895-58b2e4d78c11, ghrun-nrdermh7bq.auto.internal:24791): request = { session_id: "ydb://session/3?node_id=1&id=NzEwYjFjYzUtZGY5MWVkOGMtZTFjMTBjNDgtZjU2YjI5NWY=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_16c3c16d-c701-4ac1-bab9-c2c131a7c0ed\");\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, 623fbaa8-5630-4b1f-8895-58b2e4d78c11, ghrun-nrdermh7bq.auto.internal:24791): 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 0x5040030ee1b0>
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/gszy/0003ee/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4007
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14895
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/64869
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/gszy/0003ee/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/gszy/0003ee/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/gszy/0003ee/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_7f1xn7jx.log --grpc-port=13228 --mon-port=4007 --ic-port=7423
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/gszy/0003ee/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/gszy/0003ee/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/gszy/0003ee/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_7f1xn7jx.log', '--grpc-port=13228', '--mon-port=4007', '--ic-port=7423')' in '/home/runner/.ya/build/build_root/gszy/0003ee/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: 1316836
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:13228/1
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:446 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: "04e11ffb-801f-44a8-bc39-dbb4084f977e"

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

DEBUG    root:fq_client.py:281 Result: query {
  meta {
    common {
      id: "ptqudrv8p1s81n23l17f"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763641579
        nanos: 921016000
      }
      modified_at {
        seconds: 1763641579
        nanos: 921016000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudrv8p1s7vgmarapg-ptqudrv8p1s81n23l17f"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763641579
      nanos: 921016000
    }
  }
  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    root:fq_client.py:281 Result: ... (repeated, see above) ...
DEBUG    root:fq_client.py:281 Result: query {
  meta {
    common {
      id: "ptqudrv8p1s81n23l17f"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763641579
        nanos: 921016000
      }
      modified_at {
        seconds: 1763641579
        nanos: 921016000
      }
      revision: 1
    }
    started_at {
      seconds: 1763641583
      nanos: 23000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudrv8p1s7vgmarapg-ptqudrv8p1s81n23l17f"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1763641579
      nanos: 921016000
    }
  }
  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:24791\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $10 \'($7 $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudrv8p5gok7tm0uoi\") $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\" \'200154))))\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 \'\"_yql_time\"))\n  (return (ExtractMembers $24 $6))\n))) \'(\'(\'\"_logical_id\" \'200305)) \'((DqSink \'0 $14 $16))))) $14))\n)\n"
  }
}

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, 193750a1-74bf-4560-8211-c138f7148eb9, localhost:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 193750a1-74bf-4560-8211-c138f7148eb9, localhost:24791): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 193750a1-74bf-4560-8211-c138f7148eb9, localhost:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nrdermh7bq.auto.internal" port: 24791 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" 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-nrdermh7bq.auto.internal:24791, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:24791
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, cfa93b39-1525-4873-b82a-8f4c755a1aaa, localhost:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, cfa93b39-1525-4873-b82a-8f4c755a1aaa, localhost:24791): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, cfa93b39-1525-4873-b82a-8f4c755a1aaa, localhost:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nrdermh7bq.auto.internal" port: 24791 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" 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-nrdermh7bq.auto.internal:24791, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:24791
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:281 Result: query {
  meta {
    common {
      id: "ptqudrv8p1s81n23l17f"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763641579
        nanos: 921016000
      }
      modified_at {
        seconds: 1763641579
        nanos: 921016000
      }
      revision: 1
    }
    started_at {
      seconds: 1763641583
      nanos: 23000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudrv8p1s7vgmarapg-ptqudrv8p1s81n23l17f"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1763641579
      nanos: 921016000
    }
  }
  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.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\" \'\"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:24791\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $10 \'($7 $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudrv8p5gok7tm0uoi\") $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\" \'200154))))\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 \'\"_yql_time\"))\n  (return (ExtractMembers $24 $6))\n))) \'(\'(\'\"_logical_id\" \'200305)) \'((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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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:281 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\"\00219*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000013']
DEBUG    root:fq_client.py:281 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:281 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:281 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:281 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:281 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:281 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\"\00225*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['000000019']
DEBUG    root:fq_client.py:281 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\"\00226*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000001a']
DEBUG    root:fq_client.py:281 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\"\00227*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000001b']
DEBUG    root:fq_client.py:281 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\"\00228*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000001c']
DEBUG    root:fq_client.py:281 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\"\00229*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000001d']
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    root:fq_client.py:281 Result: ... (repeated, see above) ...
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database local
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 0ce82d0a-45e3-4e29-810e-91dfb78e8e49, localhost:24791): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 0ce82d0a-45e3-4e29-810e-91dfb78e8e49, localhost:24791): request = { database: "local" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 0ce82d0a-45e3-4e29-810e-91dfb78e8e49, localhost:24791): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nrdermh7bq.auto.internal" port: 24791 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" 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-nrdermh7bq.auto.internal:24791, location 1, ssl: False>]>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:24791
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\"\00230*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000001e']
DEBUG    root:fq_client.py:281 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\"\00231*\014shard-000000"
  }
}

INFO     root:data_plane.py:39 Data was written to test_mkql_not_increased_input: ['00000001f']
DEBUG    root:fq_client.py:281 Result: query {
  meta {
    common {
      id: "ptqudrv8p1s81n23l17f"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1763641579
        nanos: 921016000
      }
      modified_at {
        seconds: 1763641579
        nanos: 921016000
      }
      revision: 1
    }
    started_at {
      seconds: 1763641583
      nanos: 23000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudrv8p1s7vgmarapg-ptqudrv8p1s81n23l17f"
    started_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1763641579
      nanos: 921016000
    }
  }
  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: "Mkql memory limit exceeded, limit: 1048576, canAllocateExtraMemory: 1"
    issue_code: 2029
    severity: 1
  }
  transient_issue {
    message: "Query failed with code OVERLOADED and will be restarted (RetryCount: 1) at 2025-11-20T12:26:29.641277Z"
    severity: 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\" \'\"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:24791\"))\n(let $8 \'(\'\"SharedReading\" \'0))\n(let $9 \'(\'\"AddBearerToToken\" \'\"1\"))\n(let $10 \'($7 $8 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudrv8p5gok7tm0uoi\") $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\" \'200154))))\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 \'\"_yql_time\"))\n  (return (ExtractMembers $24 $6))\n))) \'(\'(\'\"_logical_id\" \'200305)) \'((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:13228/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64869
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14895
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4007
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13228
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7423
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9189
============================== slowest durations ===============================
183.02s teardown test_result_limits.py::TestResultLimits::test_many_rows
60.82s call     test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
46.39s call     test_result_limits.py::TestResultLimits::test_many_rows
37.02s call     test_result_limits.py::TestResultLimits::test_large_row
33.83s call     test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
28.76s call     test_alloc_default.py::TestAlloc::test_hard_limit[kikimr0]
26.68s call     test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
22.21s call     test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
21.43s call     test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0]
18.41s call     test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
16.94s call     test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
12.74s call     test_result_limits.py::TestResultLimits::test_quotas[kikimr0]
7.04s teardown test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0]
7.03s teardown test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
7.03s teardown test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
7.03s teardown test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
7.03s teardown test_alloc_default.py::TestAlloc::test_hard_limit[kikimr0]
7.02s teardown test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
7.02s teardown test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
7.02s teardown test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
7.01s teardown test_result_limits.py::TestResultLimits::test_large_row
3.01s teardown test_result_limits.py::TestResultLimits::test_quotas[kikimr0]
1.43s setup    test_dc_local.py::TestAlloc::test_dc_locality[kikimr0]
1.22s setup    test_alloc_default.py::TestAlloc::test_default_limits[kikimr0]
0.88s setup    test_alloc_default.py::TestAlloc::test_hard_limit[kikimr0]
0.81s setup    test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0]
0.77s setup    test_result_limits.py::TestResultLimits::test_many_rows
0.75s setup    test_alloc_default.py::TestAlloc::test_node_limit[kikimr0]
0.72s setup    test_alloc_default.py::TestAlloc::test_up_down[kikimr0]
0.70s setup    test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0]
0.53s setup    test_alloc_default.py::TestAlloc::test_default_delta[kikimr0]
0.45s setup    test_result_limits.py::TestResultLimits::test_quotas[kikimr0]
0.40s setup    test_result_limits.py::TestResultLimits::test_large_row

(2 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED test_alloc_default.py::TestAlloc::test_alloc_and_free[kikimr0] - AssertionError: Incorrect Alloc
assert 4294967296 == (0 * 1073741824)
 +  where 4294967296 = <bound method BaseTenant.get_mkql_allocated of <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0>>(1)
 +    where <bound method BaseTenant.get_mkql_allocated of <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0>> = <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0>.get_mkql_allocated
 +      where <ydb.tests.tools.fq_runner.kikimr_runner.YqTenant object at 0x50400291f7b0> = <ydb.tests.tools.fq_runner.kikimr_runner.StreamingOverKikimr object at 0x50400291d730>.control_plane
 +  and   1073741824 = <ydb.tests.tools.fq_runner.kikimr_runner.StreamingOverKikimr object at 0x50400291d730>.mkql_initial_memory_limit
FAILED test_alloc_default.py::TestAlloc::test_mkql_not_increased[kikimr0] - AssertionError: Incorrect issue codeMkql memory limit exceeded, limit: 1048576, canAllocateExtraMemory: 1
assert 2029 == 0
 +  where 2029 = message: "Mkql memory limit exceeded, limit: 1048576, canAllocateExtraMemory: 1"\nissue_code: 2029\nseverity: 1\n.issue_code
============== 2 failed, 9 passed, 1 skipped in 585.80s (0:09:45) ==============
