2025-11-05 14:24:19,124 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 14:24:19,124 - INFO - ya.test - pytest_runtest_setup: test_alloc_and_free[kikimr0]
2025-11-05 14:24:19,125 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 14:24:19,126 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-05 14:24:19,128 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/32679
2025-11-05 14:24:19,130 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/17721
2025-11-05 14:24:19,246 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/j3ko/001b19/ydb/apps/ydbd/ydbd
2025-11-05 14:24:19,248 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/31854
2025-11-05 14:24:19,253 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/22234
2025-11-05 14:24:19,254 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-11-05 14:24:19,257 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-05 14:24:19,259 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-11-05 14:24:19,271 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database local
2025-11-05 14:24:19,272 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, c621bc93-059b-4f12-bcf6-b85b28aacf67, localhost:17369): creating call state
2025-11-05 14:24:19,273 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, c621bc93-059b-4f12-bcf6-b85b28aacf67, localhost:17369): request = { database: "local" }
2025-11-05 14:24:19,278 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, c621bc93-059b-4f12-bcf6-b85b28aacf67, localhost:17369): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-uqiopzyque.auto.internal" port: 17369 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" location: "1" node_id: 1 } self_location: "1" } } } }
2025-11-05 14:24:19,279 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database local: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-uqiopzyque.auto.internal:17369, location 1, ssl: False>]>
2025-11-05 14:24:19,280 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
2025-11-05 14:24:19,286 - INFO - ydb.connection - close: Closing channel for endpoint localhost:17369
2025-11-05 14:24:19,288 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-05 14:24:19,288 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x504000db80f0 state=pending>
2025-11-05 14:24:19,288 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
2025-11-05 14:24:19,289 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x50400301fe70>
2025-11-05 14:24:19,290 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x50400301fe70>
2025-11-05 14:24:19,292 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 1145a37f-aab2-428c-88a1-8488f7ac8232, ghrun-uqiopzyque.auto.internal:17369): creating call state
2025-11-05 14:24:19,292 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 1145a37f-aab2-428c-88a1-8488f7ac8232, ghrun-uqiopzyque.auto.internal:17369): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-05 14:24:19,298 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1145a37f-aab2-428c-88a1-8488f7ac8232, ghrun-uqiopzyque.auto.internal:17369): on response callback started
2025-11-05 14:24:19,300 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 1145a37f-aab2-428c-88a1-8488f7ac8232, ghrun-uqiopzyque.auto.internal:17369): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=YmIyMTdhMzItYWE3NmJjYmMtOTNlNjg0YTAtODU1ZTBmMTk=" } } } }
2025-11-05 14:24:19,301 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x50400301fe70>
2025-11-05 14:24:19,301 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x50400301fe70>
2025-11-05 14:24:19,302 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 7bb70f2f-4607-4421-9a3e-58997eb2ec4f, ghrun-uqiopzyque.auto.internal:17369): creating call state
2025-11-05 14:24:19,303 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1145a37f-aab2-428c-88a1-8488f7ac8232, ghrun-uqiopzyque.auto.internal:17369): on response callback success
2025-11-05 14:24:19,305 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 7bb70f2f-4607-4421-9a3e-58997eb2ec4f, ghrun-uqiopzyque.auto.internal:17369): request = { session_id: "ydb://session/3?node_id=1&id=YmIyMTdhMzItYWE3NmJjYmMtOTNlNjg0YTAtODU1ZTBmMTk=" path: "local/DbPoolStorage_1f35b2a4-574a-4dee-a106-6df978f57caf/tenants" columns { name: "tenant" type { optional_type { item { type_id: STRING } } } } columns { name: "vtenant" type { optional_type { item { type_id: STRING } } } } columns { name: "common" type { optional_type { item { type_id: BOOL } } } } columns { name: "state" type { optional_type { item { type_id: UINT32 } } } } columns { name: "state_time" type { optional_type { item { type_id: TIMESTAMP } } } } primary_key: "tenant" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-05 14:24:19,371 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 7bb70f2f-4607-4421-9a3e-58997eb2ec4f, ghrun-uqiopzyque.auto.internal:17369): response = { operation { ready: true status: SUCCESS } }
2025-11-05 14:24:19,372 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x50400301fe70>
2025-11-05 14:24:19,373 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 5eeb3653-ebcb-4425-9e51-51fa5dfbd373, ghrun-uqiopzyque.auto.internal:17369): creating call state
2025-11-05 14:24:19,375 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 5eeb3653-ebcb-4425-9e51-51fa5dfbd373, ghrun-uqiopzyque.auto.internal:17369): request = { session_id: "ydb://session/3?node_id=1&id=YmIyMTdhMzItYWE3NmJjYmMtOTNlNjg0YTAtODU1ZTBmMTk=" path: "local/DbPoolStorage_1f35b2a4-574a-4dee-a106-6df978f57caf/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 } } }
2025-11-05 14:24:19,440 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 5eeb3653-ebcb-4425-9e51-51fa5dfbd373, ghrun-uqiopzyque.auto.internal:17369): response = { operation { ready: true status: SUCCESS } }
2025-11-05 14:24:19,441 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x50400301fe70>
2025-11-05 14:24:19,442 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, 6aef1902-8a07-41bd-a172-a2d2a69007c5, ghrun-uqiopzyque.auto.internal:17369): creating call state
2025-11-05 14:24:19,453 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, 6aef1902-8a07-41bd-a172-a2d2a69007c5, ghrun-uqiopzyque.auto.internal:17369): request = { session_id: "ydb://session/3?node_id=1&id=YmIyMTdhMzItYWE3NmJjYmMtOTNlNjg0YTAtODU1ZTBmMTk=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "--!syntax_v1\n            PRAGMA TablePathPrefix(\"local/DbPoolStorage_1f35b2a4-574a-4dee-a106-6df978f57caf\");\n            UPSERT INTO tenants (tenant, vtenant, common, state, state_time) values(\"/default\", \"/default\", true, 0, CurrentUtcTimestamp());\n                " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-05 14:24:19,581 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, 6aef1902-8a07-41bd-a172-a2d2a69007c5, ghrun-uqiopzyque.auto.internal:17369): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-05 14:24:19,582 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x50400301fe70>
2025-11-05 14:24:19,707 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/j3ko/001b19/ydb/apps/ydbd/ydbd
2025-11-05 14:24:19,709 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4219
2025-11-05 14:24:19,710 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/29169
2025-11-05 14:24:19,711 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2952
2025-11-05 14:24:19,714 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/j3ko/001b19/ydb/tests/fq/mem_alloc/test-results/py3test/testing_out_stuff/test_alloc_default.py.TestAlloc.test_alloc_and_free.kikimr0/default/kikimr_configs"
2025-11-05 14:24:19,715 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/j3ko/001b19/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/j3ko/001b19/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_1zckxejj.log --grpc-port=22234 --mon-port=4219 --ic-port=31854
2025-11-05 14:24:19,718 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/j3ko/001b19/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/j3ko/001b19/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/j3ko/001b19/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_1zckxejj.log', '--grpc-port=22234', '--mon-port=4219', '--ic-port=31854')' in '/home/runner/.ya/build/build_root/j3ko/001b19/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)
2025-11-05 14:24:19,723 - DEBUG - ya.test - execute: Command pid: 912805
2025-11-05 14:24:19,725 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:22234/1
2025-11-05 14:24:19,725 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-11-05 14:24:19,732 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_alloc_default.py::TestAlloc, test_name: test_alloc_and_free[kikimr0])
2025-11-05 14:24:19,733 - DEBUG - root - wait_bootstrap: Wait for node 1 to bootstrap
2025-11-05 14:24:24,439 - DEBUG - root - wait_bootstrap: Node 1 has been bootstrapped
2025-11-05 14:24:24,508 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 0
2025-11-05 14:24:24,512 - DEBUG - root - create_stream: 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

2025-11-05 14:24:24,569 - DEBUG - root - _get_and_check_result: Response: operation {
  ready: true
  status: SUCCESS
}

2025-11-05 14:24:24,570 - DEBUG - root - _get_and_check_result: Result: 
2025-11-05 14:24:28,661 - DEBUG - root - create_query_impl: 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: "5412bfb9-2087-41df-9a63-aeccdb59a9a4"

2025-11-05 14:24:30,906 - DEBUG - root - create_query_impl: Result: query_id: "ptqudt4p5jdd9a91t0bn"

2025-11-05 14:24:31,456 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudt4p5jdd9a91t0bn"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762352668
        nanos: 691042000
      }
      modified_at {
        seconds: 1762352668
        nanos: 691042000
      }
      revision: 1
    }
    execute_mode: RUN
    status: STARTING
    last_job_query_revision: 1
    last_job_id: "ptjudt4p5jdcvs68urv4-ptqudt4p5jdd9a91t0bn"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762352668
      nanos: 691042000
    }
  }
  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
  }
}

2025-11-05 14:24:33,501 - DEBUG - root - describe_query: Result: ... (repeated, see above) ...
2025-11-05 14:24:35,578 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudt4p5jdd9a91t0bn"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762352668
        nanos: 691042000
      }
      modified_at {
        seconds: 1762352668
        nanos: 691042000
      }
      revision: 1
    }
    started_at {
      seconds: 1762352672
      nanos: 546000000
    }
    execute_mode: RUN
    status: RUNNING
    last_job_query_revision: 1
    last_job_id: "ptjudt4p5jdcvs68urv4-ptqudt4p5jdd9a91t0bn"
    started_by: "root@builtin"
    submitted_at {
      seconds: 1762352668
      nanos: 691042000
    }
  }
  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:17369\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudt4p5ml7kpoal3m3\") \'(\'\"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\" \'200463))))\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))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\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"
  }
}

2025-11-05 14:24:35,688 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 4294967296
2025-11-05 14:24:37,511 - DEBUG - root - control_query: Result: 
2025-11-05 14:24:37,569 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudt4p5jdd9a91t0bn"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762352668
        nanos: 691042000
      }
      modified_at {
        seconds: 1762352677
        nanos: 481186000
      }
      revision: 2
    }
    started_at {
      seconds: 1762352672
      nanos: 546000000
    }
    execute_mode: RUN
    status: ABORTING_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudt4p5jdcvs68urv4-ptqudt4p5jdd9a91t0bn"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762352668
      nanos: 691042000
    }
  }
  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}]}}"
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":4,\"count\":4,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.00s\",\"count\":4,\"avg\":\"0.00s\",\"max\":\"0.00s\",\"min\":\"0.00s\"}}}"
  }
  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:17369\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudt4p5ml7kpoal3m3\") \'(\'\"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\" \'200463))))\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))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\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"
  }
}

2025-11-05 14:24:39,593 - DEBUG - root - describe_query: Result: query {
  meta {
    common {
      id: "ptqudt4p5jdd9a91t0bn"
      created_by: "root@builtin"
      modified_by: "root@builtin"
      created_at {
        seconds: 1762352668
        nanos: 691042000
      }
      modified_at {
        seconds: 1762352677
        nanos: 481186000
      }
      revision: 2
    }
    started_at {
      seconds: 1762352672
      nanos: 546000000
    }
    finished_at {
      seconds: 1762352678
      nanos: 188000000
    }
    execute_mode: RUN
    status: ABORTED_BY_USER
    last_job_query_revision: 1
    last_job_id: "ptjudt4p5jdcvs68urv4-ptqudt4p5jdd9a91t0bn"
    started_by: "root@builtin"
    aborted_by: "root@builtin"
    has_saved_checkpoints: true
    submitted_at {
      seconds: 1762352668
      nanos: 691042000
    }
  }
  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}]}}"
  }
  issue {
    message: "ABORTED_BY_USER"
    severity: 1
  }
  statistics {
    json: "{\"Graph=0\":{\"Tasks\":{\"sum\":4,\"count\":4,\"avg\":1,\"max\":1,\"min\":1},\"CpuTimeUs\":{\"sum\":\"0.23s\",\"count\":4,\"avg\":\"59ms\",\"max\":\"0.21s\",\"min\":\"0.00s\"},\"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}}}"
  }
  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:17369\") $7 \'(\'\"ReconnectPeriod\" \'\"\") \'(\'\"Format\" \'\"raw\") \'(\'\"ReadGroup\" \'\"ptcudt4p5ml7kpoal3m3\") \'(\'\"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\" \'200463))))\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))\n  (return (Take (ExtractMembers $24 \'(\'Count0)) $11))\n))) \'(\'(\'\"_logical_id\" \'200739))))\n(let $13 (DqStage \'((DqCnUnionAll (TDqOutput $12 \'0))) (lambda \'($36) (FlatMap (Take $36 $11) (lambda \'($37) (Just (AsStruct \'(\'\"column0\" (Member $37 \'Count0))))))) \'(\'(\'\"_logical_id\" \'200806))))\n(let $14 (DqStage \'((DqCnUnionAll (TDqOutput $13 \'0))) (lambda \'($38) $38) \'(\'(\'\"_logical_id\" \'200849))))\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"
  }
}

2025-11-05 14:24:39,718 - DEBUG - root - get_mkql_allocated: MQKL node 1 = 0
2025-11-05 14:24:39,720 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-05 14:24:46,722 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:22234/1
2025-11-05 14:24:46,723 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2952
2025-11-05 14:24:46,724 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29169
2025-11-05 14:24:46,724 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4219
2025-11-05 14:24:46,724 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22234
2025-11-05 14:24:46,725 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/31854
2025-11-05 14:24:46,725 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17721
