2025-11-01 04:20:17,986 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 04:20:17,987 - INFO - ya.test - pytest_runtest_setup: test_fg_with_profile_stats
2025-11-01 04:20:17,987 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 04:20:17,987 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 04:20:18,051 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd
2025-11-01 04:20:18,052 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1175
2025-11-01 04:20:18,053 - DEBUG - ydb.tests.library.harness.kikimr_runner - start: Working directory: /home/runner/.ya/build/build_root/g81u/004de5/r3tmp/kikimr_cluster_42drl2br
2025-11-01 04:20:18,088 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd
2025-11-01 04:20:18,089 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2325
2025-11-01 04:20:18,089 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/16375
2025-11-01 04:20:18,089 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/29835
2025-11-01 04:20:18,090 - DEBUG - library.python.filelock - acquire: Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5097
2025-11-01 04:20:18,090 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/g81u/004de5/ydb/tests/functional/ydb_cli/test-results/py3test/testing_out_stuff/test_ydb_flame_graph/chunk3/testing_out_stuff/test_ydb_flame_graph.py.TestExecuteWithFlameGraph.test_fg_with_profile_stats/cluster/kikimr_configs"
2025-11-01 04:20:18,091 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --log-file-name=/home/runner/.ya/build/build_root/g81u/004de5/ydb/tests/functional/ydb_cli/test-results/py3test/testing_out_stuff/test_ydb_flame_graph/chunk3/testing_out_stuff/test_ydb_flame_graph.py.TestExecuteWithFlameGraph.test_fg_with_profile_stats/cluster/node_1/logfile_q69c_00e.log --grpc-port=2325 --mon-port=16375 --ic-port=1175
2025-11-01 04:20:18,091 - DEBUG - ydb.tests.library.harness.kikimr_runner - format_pdisk: Formatting pdisk SectorMap:1:64 on node localhost:2325/1, disk_size 68719476736
2025-11-01 04:20:18,091 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: CFG_DIR_PATH="/home/runner/.ya/build/build_root/g81u/004de5/ydb/tests/functional/ydb_cli/test-results/py3test/testing_out_stuff/test_ydb_flame_graph/chunk3/testing_out_stuff/test_ydb_flame_graph.py.TestExecuteWithFlameGraph.test_fg_with_profile_stats/cluster/kikimr_configs"
2025-11-01 04:20:18,091 - INFO - ydb.tests.library.harness.kikimr_runner - __make_run_command: Final command: /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --log-file-name=/home/runner/.ya/build/build_root/g81u/004de5/ydb/tests/functional/ydb_cli/test-results/py3test/testing_out_stuff/test_ydb_flame_graph/chunk3/testing_out_stuff/test_ydb_flame_graph.py.TestExecuteWithFlameGraph.test_fg_with_profile_stats/cluster/node_1/logfile_q69c_00e.log --grpc-port=2325 --mon-port=16375 --ic-port=1175
2025-11-01 04:20:18,092 - DEBUG - ya.test - execute: Executing '('/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/g81u/004de5/ydb/tests/functional/ydb_cli/test-results/py3test/testing_out_stuff/test_ydb_flame_graph/chunk3/testing_out_stuff/test_ydb_flame_graph.py.TestExecuteWithFlameGraph.test_fg_with_profile_stats/cluster/kikimr_configs/config.yaml', '--node=1', '--log-file-name=/home/runner/.ya/build/build_root/g81u/004de5/ydb/tests/functional/ydb_cli/test-results/py3test/testing_out_stuff/test_ydb_flame_graph/chunk3/testing_out_stuff/test_ydb_flame_graph.py.TestExecuteWithFlameGraph.test_fg_with_profile_stats/cluster/node_1/logfile_q69c_00e.log', '--grpc-port=2325', '--mon-port=16375', '--ic-port=1175')' in '/home/runner/.ya/build/build_root/g81u/004de5/ydb/tests/functional/ydb_cli/test-results/py3test/testing_out_stuff/test_ydb_flame_graph/chunk3/testing_out_stuff/test_ydb_flame_graph.py.TestExecuteWithFlameGraph.test_fg_with_profile_stats/cluster/node_1' (no wait)
2025-11-01 04:20:18,093 - DEBUG - ya.test - execute: Command pid: 2551905
2025-11-01 04:20:18,094 - INFO - ydb.tests.library.harness.kikimr_runner - start: Started node localhost:2325/1
2025-11-01 04:20:18,095 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out
2025-11-01 04:20:18,095 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err
2025-11-01 04:20:18,096 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd', '-V']' in 'None' (waiting)
2025-11-01 04:20:18,096 - DEBUG - ya.test - execute: Command pid: 2551908
2025-11-01 04:20:18,426 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) rc: 0
2025-11-01 04:20:18,427 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) elapsed time (sec): 0.3294832706451416
2025-11-01 04:20:18,427 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) idrss: 0
2025-11-01 04:20:18,427 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) inblock: 0
2025-11-01 04:20:18,427 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) isrss: 0
2025-11-01 04:20:18,427 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) ixrss: 0
2025-11-01 04:20:18,427 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) majflt: 0
2025-11-01 04:20:18,427 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) maxrss: 538372
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) minflt: 16129
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) msgrcv: 0
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) msgsnd: 0
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) nivcsw: 2
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) nsignals: 0
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) nswap: 0
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) nvcsw: 13
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) oublock: 8
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) stime: 0.180834
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) utime: 0.100463
2025-11-01 04:20:18,428 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) wtime: 0.33
2025-11-01 04:20:18,429 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) output:
Git info:
    Commit: 767d72532e5716ba790791cf237fdadb24b0e578
    Branch: 
    Author: Innokentii Mokin <enjection@ya.ru>
    Summary: Merge 96af589a3c3d7740081955df0fe84da0a7b35651 into 2afee58ebdae8491f810ad53605d37376c4e5de6

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

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

2025-11-01 04:20:18,429 - DEBUG - ya.test - _save_outputs: Command (pid 2551908) errors:

2025-11-01 04:20:18,429 - INFO - ydb.tests.library.harness.kikimr_runner - start: Node 1 version:
Git info:
    Commit: 767d72532e5716ba790791cf237fdadb24b0e578
    Branch: 
    Author: Innokentii Mokin <enjection@ya.ru>
    Summary: Merge 96af589a3c3d7740081955df0fe84da0a7b35651 into 2afee58ebdae8491f810ad53605d37376c4e5de6
2025-11-01 04:20:21,991 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd
2025-11-01 04:20:21,992 - DEBUG - ydb.tests.library.harness.kikimr_runner - __call_kikimr_new_cli: Executing command = ['/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd', '--server', 'grpc://localhost:2325', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 1175\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']
2025-11-01 04:20:21,992 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out.0
2025-11-01 04:20:21,993 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err.0
2025-11-01 04:20:21,993 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd', '--server', 'grpc://localhost:2325', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 1175\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
2025-11-01 04:20:21,994 - DEBUG - ya.test - execute: Command pid: 2554020
2025-11-01 04:20:22,493 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) rc: 0
2025-11-01 04:20:22,494 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) elapsed time (sec): 0.4985687732696533
2025-11-01 04:20:22,494 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) idrss: 0
2025-11-01 04:20:22,494 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) inblock: 0
2025-11-01 04:20:22,494 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) isrss: 0
2025-11-01 04:20:22,494 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) ixrss: 0
2025-11-01 04:20:22,494 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) majflt: 0
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) maxrss: 546836
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) minflt: 18271
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) msgrcv: 0
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) msgsnd: 0
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) nivcsw: 4
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) nsignals: 0
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) nswap: 0
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) nvcsw: 133
2025-11-01 04:20:22,495 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) oublock: 8
2025-11-01 04:20:22,496 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) stime: 0.34848999999999997
2025-11-01 04:20:22,496 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) utime: 0.105776
2025-11-01 04:20:22,496 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) wtime: 0.5
2025-11-01 04:20:22,496 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 4

2025-11-01 04:20:22,496 - DEBUG - ya.test - _save_outputs: Command (pid 2554020) errors:

2025-11-01 04:20:22,497 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd
2025-11-01 04:20:22,497 - DEBUG - ydb.tests.library.harness.kikimr_runner - __call_kikimr_new_cli: Executing command = ['/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd', '--server', 'grpc://localhost:2325', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']
2025-11-01 04:20:22,498 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydbd.out.1
2025-11-01 04:20:22,498 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydbd.err.1
2025-11-01 04:20:22,498 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydbd/ydbd', '--server', 'grpc://localhost:2325', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']' in 'None' (waiting)
2025-11-01 04:20:22,499 - DEBUG - ya.test - execute: Command pid: 2554665
2025-11-01 04:20:22,903 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) rc: 0
2025-11-01 04:20:22,903 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) elapsed time (sec): 0.4030287265777588
2025-11-01 04:20:22,903 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) idrss: 0
2025-11-01 04:20:22,903 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) inblock: 0
2025-11-01 04:20:22,903 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) isrss: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) ixrss: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) majflt: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) maxrss: 546832
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) minflt: 18270
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) msgrcv: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) msgsnd: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) nivcsw: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) nsignals: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) nswap: 0
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) nvcsw: 121
2025-11-01 04:20:22,904 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) oublock: 8
2025-11-01 04:20:22,905 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) stime: 0.23909899999999998
2025-11-01 04:20:22,905 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) utime: 0.11939799999999999
2025-11-01 04:20:22,905 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) wtime: 0.404
2025-11-01 04:20:22,905 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

2025-11-01 04:20:22,905 - DEBUG - ya.test - _save_outputs: Command (pid 2554665) errors:

2025-11-01 04:20:22,905 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Binding storage pools to domain Root: {'dynamic_storage_pool:1': 'hdd'}
2025-11-01 04:20:22,917 - INFO - ydb.tests.library.harness.kikimr_runner - __run: Cluster started and initialized
2025-11-01 04:20:22,927 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-01 04:20:22,931 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 04:20:22,933 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-01 04:20:22,942 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root
2025-11-01 04:20:22,942 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, c8877306-ee00-4a87-83ed-7cb66b6b671a, localhost:2325): creating call state
2025-11-01 04:20:22,943 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, c8877306-ee00-4a87-83ed-7cb66b6b671a, localhost:2325): request = { database: "/Root" }
2025-11-01 04:20:22,946 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, c8877306-ee00-4a87-83ed-7cb66b6b671a, localhost:2325): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-i4gyxlpqdu.auto.internal" port: 2325 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-01 04:20:22,946 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-i4gyxlpqdu.auto.internal:2325, location 1, ssl: False>]>
2025-11-01 04:20:22,947 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-01 04:20:22,953 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:2325
2025-11-01 04:20:22,955 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 526938e1-ef92-4aa1-b82b-9330ac0e1c7e, ghrun-i4gyxlpqdu.auto.internal:2325): creating call state
2025-11-01 04:20:22,955 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 526938e1-ef92-4aa1-b82b-9330ac0e1c7e, ghrun-i4gyxlpqdu.auto.internal:2325): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 04:20:22,957 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 526938e1-ef92-4aa1-b82b-9330ac0e1c7e, ghrun-i4gyxlpqdu.auto.internal:2325): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=ZDRiZmUwODctOTI4NzA5NDQtMjNiY2RjOC00MzJhZmFlMw==" } } } }
2025-11-01 04:20:22,958 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, e7b532f5-5ea6-4c88-a762-a546136db742, ghrun-i4gyxlpqdu.auto.internal:2325): creating call state
2025-11-01 04:20:22,959 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, e7b532f5-5ea6-4c88-a762-a546136db742, ghrun-i4gyxlpqdu.auto.internal:2325): request = { session_id: "ydb://session/3?node_id=1&id=ZDRiZmUwODctOTI4NzA5NDQtMjNiY2RjOC00MzJhZmFlMw==" path: "/Root/flame_graph_options" columns { name: "key" type { optional_type { item { type_id: UINT32 } } } } columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: STRING } } } } primary_key: "key" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 04:20:22,979 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, e7b532f5-5ea6-4c88-a762-a546136db742, ghrun-i4gyxlpqdu.auto.internal:2325): response = { operation { ready: true status: SUCCESS } }
2025-11-01 04:20:22,980 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, 4dbc2785-211c-4268-ae84-e6421b69bb27, ghrun-i4gyxlpqdu.auto.internal:2325): creating call state
2025-11-01 04:20:22,981 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, 4dbc2785-211c-4268-ae84-e6421b69bb27, ghrun-i4gyxlpqdu.auto.internal:2325): request = { session_id: "ydb://session/3?node_id=1&id=ZDRiZmUwODctOTI4NzA5NDQtMjNiY2RjOC00MzJhZmFlMw==" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n        PRAGMA TablePathPrefix(\"/Root\");\n        UPSERT INTO flame_graph_options (`key`, `id`, `value`) VALUES (1, 1111, \"one\");\n        UPSERT INTO flame_graph_options (`key`, `id`, `value`) VALUES (2, 2222, \"two\");\n        UPSERT INTO flame_graph_options (`key`, `id`, `value`) VALUES (3, 3333, \"three\");\n        UPSERT INTO flame_graph_options (`key`, `id`, `value`) VALUES (5, 5555, \"five\");\n        UPSERT INTO flame_graph_options (`key`, `id`, `value`) VALUES (7, 7777, \"seven\");\n        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 04:20:23,020 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, 4dbc2785-211c-4268-ae84-e6421b69bb27, ghrun-i4gyxlpqdu.auto.internal:2325): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-01 04:20:23,023 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_ydb_flame_graph.py::TestExecuteWithFlameGraph, test_name: test_fg_with_profile_stats)
2025-11-01 04:20:23,023 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydb/ydb
2025-11-01 04:20:23,024 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydb.out
2025-11-01 04:20:23,025 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydb.err
2025-11-01 04:20:23,025 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:2325', '--database', '/Root', 'yql', '-s', 'SELECT * FROM `/Root/flame_graph_options` WHERE key < 4;', '--stats', 'profile', '--flame-graph', 'test_fg.svg']' in 'None' (waiting)
2025-11-01 04:20:23,026 - DEBUG - ya.test - execute: Command pid: 2555278
2025-11-01 04:20:23,180 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) rc: 0
2025-11-01 04:20:23,180 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) elapsed time (sec): 0.1531381607055664
2025-11-01 04:20:23,180 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) idrss: 0
2025-11-01 04:20:23,181 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) inblock: 0
2025-11-01 04:20:23,181 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) isrss: 0
2025-11-01 04:20:23,181 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) ixrss: 0
2025-11-01 04:20:23,181 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) majflt: 0
2025-11-01 04:20:23,181 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) maxrss: 169332
2025-11-01 04:20:23,181 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) minflt: 3552
2025-11-01 04:20:23,182 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) msgrcv: 0
2025-11-01 04:20:23,182 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) msgsnd: 0
2025-11-01 04:20:23,182 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) nivcsw: 0
2025-11-01 04:20:23,182 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) nsignals: 0
2025-11-01 04:20:23,182 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) nswap: 0
2025-11-01 04:20:23,182 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) nvcsw: 185
2025-11-01 04:20:23,183 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) oublock: 80
2025-11-01 04:20:23,183 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) stime: 0.018355
2025-11-01 04:20:23,183 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) utime: 0.045889
2025-11-01 04:20:23,183 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) wtime: 0.154
2025-11-01 04:20:23,183 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) output:
┌──────┬─────┬─────────┐
│ id   │ key │ value   │
├──────┼─────┼─────────┤
│ 1111 │ 1   │ "one"   │
├──────┼─────┼─────────┤
│ 2222 │ 2   │ "two"   │
├──────┼─────┼─────────┤
│ 3333 │ 3   │ "three" │
└──────┴─────┴─────────┘

Statistics:
query_phases {
  duration_us: 1415
  table_access {
    name: "/Root/flame_graph_options"
    reads {
      rows: 3
      bytes: 72
    }
  }
  cpu_time_us: 1335
  affected_shards: 1
}
process_cpu_time_us: 8615
total_duration_us: 34547
total_cpu_time_us: 9950


Full statistics:
Query 0:
ResultSet
└──Limit (Inputs: [{"ExternalPlanNodeId":2}], Limit: 1001)
   ComputeNodes: [{"Tasks":[{"InputBytes":29,"FinishTimeMs":1761970823152,"Host":"ghrun-i4gyxlpqdu","ResultRows":3,"ResultBytes":29,"OutputRows":3,"StartTimeMs":1761970823151,"InputRows":3,"ComputeTimeUs":54,"InputChannels":[{"WaitTimeUs":211,"ChannelId":1,"Rows":3,"SrcStageId":0,"Bytes":29}],"NodeId":1,"OutputChannels":[{"ChannelId":2,"Rows":3,"DstStageId":0,"Bytes":29}],"TaskId":2,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"DurationUs":1000,"CpuTimeUs":369}]
   UseLlvm: false
   OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   PhysicalStageId: 1
   FinishedTasks: 1
   InputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Introspections: ["1 minimum tasks for compute"]
   DurationUs: {"Count":1,"Sum":1000,"Max":1000,"Min":1000}
   MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[0,65536,1,65536]}
   BaseTimeMs: 1761970823151
   Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"RESULT","Push":{"WaitTimeUs":{"Count":1,"Sum":246,"Max":246,"Min":246,"History":[1,246]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3}}}]
   CpuTimeUs: {"Count":1,"Sum":185,"Max":185,"Min":185,"History":[0,135,1,185]}
   StageDurationUs: 1000
   ResultRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   ResultBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Input: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"1","Push":{"WaitTimeUs":{"Count":1,"Sum":211,"Max":211,"Min":211,"History":[1,211]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}}}]
   UpdateTimeMs: 1
   Tasks: 1
   InputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   └──<UnionAll>
      └──Limit (Inputs: [{"InternalOperatorId":1}], Limit: 1001)
      └──TableRangeScan (Scan: Parallel, E-Size: 0, ReadRange: ["key (null, 4)"], Inputs: [], Path: /Root/flame_graph_options, E-Rows: 1, Table: flame_graph_options, ReadColumns: ["id","key","value"], E-Cost: 0)
         Tables: ["flame_graph_options"]
         ComputeNodes: [{"Tasks":[{"FinishTimeMs":1761970823151,"Host":"ghrun-i4gyxlpqdu","IngressBytes":72,"OutputRows":3,"StartTimeMs":1761970823151,"IngressRows":3,"ComputeTimeUs":30,"NodeId":1,"OutputChannels":[{"ChannelId":1,"Rows":3,"DstStageId":1,"Bytes":29}],"TaskId":1,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"CpuTimeUs":418}]
         UseLlvm: false
         Table: [{"Path":"\/Root\/flame_graph_options","ReadRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"ReadBytes":{"Count":1,"Sum":72,"Max":72,"Min":72}}]
         OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         IngressBytes: {"Count":1,"Sum":72,"Max":72,"Min":72}
         PhysicalStageId: 0
         FinishedTasks: 1
         Introspections: ["1 tasks default for shard scan"]
         IngressRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[0,65536]}
         BaseTimeMs: 1761970823151
         Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[0,29]}},"Name":"3","Push":{"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3}}}]
         CpuTimeUs: {"Count":1,"Sum":191,"Max":191,"Min":191,"History":[0,191]}
         Ingress: [{"Pop":{},"External":{"PartitionCount":1,"WaitOutputTimeUs":{"Count":1,"Sum":24,"Max":24,"Min":24},"ExternalRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"FinishedPartitionCount":1,"ExternalBytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[0,72]}},"Name":"CS","Ingress":{"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[0,72]}},"Push":{}}]
         StageDurationUs: 0
         NodesScanShards: [{"shards_count":1,"node_id":1}]
         OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
         Tasks: 1
Resource usage flame graph is successfully saved to test_fg.svg

2025-11-01 04:20:23,184 - DEBUG - ya.test - _save_outputs: Command (pid 2555278) errors:

2025-11-01 04:20:23,184 - DEBUG - __tests__.test_ydb_flame_graph - execute_ydb_cli_command: result:
┌──────┬─────┬─────────┐
│ id   │ key │ value   │
├──────┼─────┼─────────┤
│ 1111 │ 1   │ "one"   │
├──────┼─────┼─────────┤
│ 2222 │ 2   │ "two"   │
├──────┼─────┼─────────┤
│ 3333 │ 3   │ "three" │
└──────┴─────┴─────────┘

Statistics:
query_phases {
  duration_us: 1415
  table_access {
    name: "/Root/flame_graph_options"
    reads {
      rows: 3
      bytes: 72
    }
  }
  cpu_time_us: 1335
  affected_shards: 1
}
process_cpu_time_us: 8615
total_duration_us: 34547
total_cpu_time_us: 9950


Full statistics:
Query 0:
ResultSet
└──Limit (Inputs: [{"ExternalPlanNodeId":2}], Limit: 1001)
   ComputeNodes: [{"Tasks":[{"InputBytes":29,"FinishTimeMs":1761970823152,"Host":"ghrun-i4gyxlpqdu","ResultRows":3,"ResultBytes":29,"OutputRows":3,"StartTimeMs":1761970823151,"InputRows":3,"ComputeTimeUs":54,"InputChannels":[{"WaitTimeUs":211,"ChannelId":1,"Rows":3,"SrcStageId":0,"Bytes":29}],"NodeId":1,"OutputChannels":[{"ChannelId":2,"Rows":3,"DstStageId":0,"Bytes":29}],"TaskId":2,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"DurationUs":1000,"CpuTimeUs":369}]
   UseLlvm: false
   OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   PhysicalStageId: 1
   FinishedTasks: 1
   InputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Introspections: ["1 minimum tasks for compute"]
   DurationUs: {"Count":1,"Sum":1000,"Max":1000,"Min":1000}
   MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[0,65536,1,65536]}
   BaseTimeMs: 1761970823151
   Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"RESULT","Push":{"WaitTimeUs":{"Count":1,"Sum":246,"Max":246,"Min":246,"History":[1,246]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3}}}]
   CpuTimeUs: {"Count":1,"Sum":185,"Max":185,"Min":185,"History":[0,135,1,185]}
   StageDurationUs: 1000
   ResultRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   ResultBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Input: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"1","Push":{"WaitTimeUs":{"Count":1,"Sum":211,"Max":211,"Min":211,"History":[1,211]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}}}]
   UpdateTimeMs: 1
   Tasks: 1
   InputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   └──<UnionAll>
      └──Limit (Inputs: [{"InternalOperatorId":1}], Limit: 1001)
      └──TableRangeScan (Scan: Parallel, E-Size: 0, ReadRange: ["key (null, 4)"], Inputs: [], Path: /Root/flame_graph_options, E-Rows: 1, Table: flame_graph_options, ReadColumns: ["id","key","value"], E-Cost: 0)
         Tables: ["flame_graph_options"]
         ComputeNodes: [{"Tasks":[{"FinishTimeMs":1761970823151,"Host":"ghrun-i4gyxlpqdu","IngressBytes":72,"OutputRows":3,"StartTimeMs":1761970823151,"IngressRows":3,"ComputeTimeUs":30,"NodeId":1,"OutputChannels":[{"ChannelId":1,"Rows":3,"DstStageId":1,"Bytes":29}],"TaskId":1,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"CpuTimeUs":418}]
         UseLlvm: false
         Table: [{"Path":"\/Root\/flame_graph_options","ReadRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"ReadBytes":{"Count":1,"Sum":72,"Max":72,"Min":72}}]
         OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         IngressBytes: {"Count":1,"Sum":72,"Max":72,"Min":72}
         PhysicalStageId: 0
         FinishedTasks: 1
         Introspections: ["1 tasks default for shard scan"]
         IngressRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[0,65536]}
         BaseTimeMs: 1761970823151
         Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[0,29]}},"Name":"3","Push":{"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3}}}]
         CpuTimeUs: {"Count":1,"Sum":191,"Max":191,"Min":191,"History":[0,191]}
         Ingress: [{"Pop":{},"External":{"PartitionCount":1,"WaitOutputTimeUs":{"Count":1,"Sum":24,"Max":24,"Min":24},"ExternalRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"FinishedPartitionCount":1,"ExternalBytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[0,72]}},"Name":"CS","Ingress":{"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Bytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[0,72]}},"Push":{}}]
         StageDurationUs: 0
         NodesScanShards: [{"shards_count":1,"node_id":1}]
         OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
         Tasks: 1
Resource usage flame graph is successfully saved to test_fg.svg


2025-11-01 04:20:23,185 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydb/ydb
2025-11-01 04:20:23,186 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydb.out.0
2025-11-01 04:20:23,186 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydb.err.0
2025-11-01 04:20:23,187 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/g81u/004de5/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:2325', '--database', '/Root', 'scripting', 'yql', '-s', 'SELECT * FROM `/Root/flame_graph_options` WHERE key < 4;', '--stats', 'profile', '--flame-graph', 'test_fg.svg']' in 'None' (waiting)
2025-11-01 04:20:23,188 - DEBUG - ya.test - execute: Command pid: 2555613
2025-11-01 04:20:23,350 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) rc: 0
2025-11-01 04:20:23,350 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) elapsed time (sec): 0.16112089157104492
2025-11-01 04:20:23,350 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) idrss: 0
2025-11-01 04:20:23,351 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) inblock: 0
2025-11-01 04:20:23,351 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) isrss: 0
2025-11-01 04:20:23,351 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) ixrss: 0
2025-11-01 04:20:23,351 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) majflt: 0
2025-11-01 04:20:23,351 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) maxrss: 169332
2025-11-01 04:20:23,351 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) minflt: 3590
2025-11-01 04:20:23,352 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) msgrcv: 0
2025-11-01 04:20:23,352 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) msgsnd: 0
2025-11-01 04:20:23,352 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) nivcsw: 1
2025-11-01 04:20:23,352 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) nsignals: 0
2025-11-01 04:20:23,352 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) nswap: 0
2025-11-01 04:20:23,352 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) nvcsw: 185
2025-11-01 04:20:23,353 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) oublock: 80
2025-11-01 04:20:23,353 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) stime: 0.021391
2025-11-01 04:20:23,353 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) utime: 0.055618999999999995
2025-11-01 04:20:23,353 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) wtime: 0.162
2025-11-01 04:20:23,353 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) output:
┌──────┬─────┬─────────┐
│ id   │ key │ value   │
├──────┼─────┼─────────┤
│ 1111 │ 1   │ "one"   │
├──────┼─────┼─────────┤
│ 2222 │ 2   │ "two"   │
├──────┼─────┼─────────┤
│ 3333 │ 3   │ "three" │
└──────┴─────┴─────────┘

Statistics:
query_phases {
  duration_us: 1147
  table_access {
    name: "/Root/flame_graph_options"
    reads {
      rows: 3
      bytes: 72
    }
  }
  cpu_time_us: 1209
  affected_shards: 1
}
process_cpu_time_us: 7138
total_duration_us: 31815
total_cpu_time_us: 8347

Full statistics:
Query 0:
ResultSet
└──Limit (Inputs: [{"ExternalPlanNodeId":2}], Limit: 1001)
   ComputeNodes: [{"Tasks":[{"InputBytes":29,"FinishTimeMs":1761970823324,"Host":"ghrun-i4gyxlpqdu","ResultRows":3,"ResultBytes":29,"OutputRows":3,"StartTimeMs":1761970823324,"InputRows":3,"ComputeTimeUs":48,"InputChannels":[{"WaitTimeUs":289,"ChannelId":1,"Rows":3,"SrcStageId":0,"Bytes":29}],"NodeId":1,"OutputChannels":[{"ChannelId":2,"Rows":3,"DstStageId":0,"Bytes":29}],"TaskId":2,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"CpuTimeUs":284}]
   UseLlvm: false
   OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   PhysicalStageId: 1
   FinishedTasks: 1
   InputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Introspections: ["1 minimum tasks for compute"]
   MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[0,65536,1,65536]}
   BaseTimeMs: 1761970823323
   Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"RESULT","Push":{"WaitTimeUs":{"Count":1,"Sum":320,"Max":320,"Min":320,"History":[1,320]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"ResumeMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1}}}]
   CpuTimeUs: {"Count":1,"Sum":104,"Max":104,"Min":104,"History":[0,63,1,104]}
   StageDurationUs: 0
   ResultRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   ResultBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Input: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"1","Push":{"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"ResumeMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]},"WaitTimeUs":{"Count":1,"Sum":289,"Max":289,"Min":289,"History":[1,289]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1}}}]
   UpdateTimeMs: 1
   InputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   Tasks: 1
   └──<UnionAll>
      └──Limit (Inputs: [{"InternalOperatorId":1}], Limit: 1001)
      └──TableRangeScan (Scan: Parallel, E-Size: 0, ReadRange: ["key (null, 4)"], Inputs: [], Path: /Root/flame_graph_options, E-Rows: 1, Table: flame_graph_options, ReadColumns: ["id","key","value"], E-Cost: 0)
         Tables: ["flame_graph_options"]
         ComputeNodes: [{"Tasks":[{"FinishTimeMs":1761970823324,"Host":"ghrun-i4gyxlpqdu","IngressBytes":72,"OutputRows":3,"StartTimeMs":1761970823324,"IngressRows":3,"ComputeTimeUs":20,"NodeId":1,"OutputChannels":[{"ChannelId":1,"Rows":3,"DstStageId":1,"Bytes":29}],"TaskId":1,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"CpuTimeUs":412}]
         UseLlvm: false
         Table: [{"Path":"\/Root\/flame_graph_options","ReadRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"ReadBytes":{"Count":1,"Sum":72,"Max":72,"Min":72}}]
         OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         IngressBytes: {"Count":1,"Sum":72,"Max":72,"Min":72}
         PhysicalStageId: 0
         FinishedTasks: 1
         Introspections: ["1 tasks default for shard scan"]
         IngressRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[1,65536]}
         BaseTimeMs: 1761970823323
         Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"3","Push":{"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1}}}]
         CpuTimeUs: {"Count":1,"Sum":186,"Max":186,"Min":186,"History":[1,186]}
         Ingress: [{"Pop":{},"External":{"PartitionCount":1,"WaitOutputTimeUs":{"Count":1,"Sum":22,"Max":22,"Min":22},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"ExternalRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"FinishedPartitionCount":1,"ExternalBytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[1,72]},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1}},"Name":"CS","Ingress":{"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[1,72]}},"Push":{}}]
         StageDurationUs: 0
         NodesScanShards: [{"shards_count":1,"node_id":1}]
         OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
         UpdateTimeMs: 1
         Tasks: 1
Resource usage flame graph is successfully saved to test_fg.svg

2025-11-01 04:20:23,354 - DEBUG - ya.test - _save_outputs: Command (pid 2555613) errors:

2025-11-01 04:20:23,354 - DEBUG - __tests__.test_ydb_flame_graph - execute_ydb_cli_command: result:
┌──────┬─────┬─────────┐
│ id   │ key │ value   │
├──────┼─────┼─────────┤
│ 1111 │ 1   │ "one"   │
├──────┼─────┼─────────┤
│ 2222 │ 2   │ "two"   │
├──────┼─────┼─────────┤
│ 3333 │ 3   │ "three" │
└──────┴─────┴─────────┘

Statistics:
query_phases {
  duration_us: 1147
  table_access {
    name: "/Root/flame_graph_options"
    reads {
      rows: 3
      bytes: 72
    }
  }
  cpu_time_us: 1209
  affected_shards: 1
}
process_cpu_time_us: 7138
total_duration_us: 31815
total_cpu_time_us: 8347

Full statistics:
Query 0:
ResultSet
└──Limit (Inputs: [{"ExternalPlanNodeId":2}], Limit: 1001)
   ComputeNodes: [{"Tasks":[{"InputBytes":29,"FinishTimeMs":1761970823324,"Host":"ghrun-i4gyxlpqdu","ResultRows":3,"ResultBytes":29,"OutputRows":3,"StartTimeMs":1761970823324,"InputRows":3,"ComputeTimeUs":48,"InputChannels":[{"WaitTimeUs":289,"ChannelId":1,"Rows":3,"SrcStageId":0,"Bytes":29}],"NodeId":1,"OutputChannels":[{"ChannelId":2,"Rows":3,"DstStageId":0,"Bytes":29}],"TaskId":2,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"CpuTimeUs":284}]
   UseLlvm: false
   OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   PhysicalStageId: 1
   FinishedTasks: 1
   InputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Introspections: ["1 minimum tasks for compute"]
   MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[0,65536,1,65536]}
   BaseTimeMs: 1761970823323
   Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"RESULT","Push":{"WaitTimeUs":{"Count":1,"Sum":320,"Max":320,"Min":320,"History":[1,320]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"ResumeMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1}}}]
   CpuTimeUs: {"Count":1,"Sum":104,"Max":104,"Min":104,"History":[0,63,1,104]}
   StageDurationUs: 0
   ResultRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   ResultBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
   Input: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"1","Push":{"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"ResumeMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]},"WaitTimeUs":{"Count":1,"Sum":289,"Max":289,"Min":289,"History":[1,289]},"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1}}}]
   UpdateTimeMs: 1
   InputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
   Tasks: 1
   └──<UnionAll>
      └──Limit (Inputs: [{"InternalOperatorId":1}], Limit: 1001)
      └──TableRangeScan (Scan: Parallel, E-Size: 0, ReadRange: ["key (null, 4)"], Inputs: [], Path: /Root/flame_graph_options, E-Rows: 1, Table: flame_graph_options, ReadColumns: ["id","key","value"], E-Cost: 0)
         Tables: ["flame_graph_options"]
         ComputeNodes: [{"Tasks":[{"FinishTimeMs":1761970823324,"Host":"ghrun-i4gyxlpqdu","IngressBytes":72,"OutputRows":3,"StartTimeMs":1761970823324,"IngressRows":3,"ComputeTimeUs":20,"NodeId":1,"OutputChannels":[{"ChannelId":1,"Rows":3,"DstStageId":1,"Bytes":29}],"TaskId":1,"OutputBytes":29}],"PeakMemoryUsageBytes":65536,"CpuTimeUs":412}]
         UseLlvm: false
         Table: [{"Path":"\/Root\/flame_graph_options","ReadRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"ReadBytes":{"Count":1,"Sum":72,"Max":72,"Min":72}}]
         OutputRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         IngressBytes: {"Count":1,"Sum":72,"Max":72,"Min":72}
         PhysicalStageId: 0
         FinishedTasks: 1
         Introspections: ["1 tasks default for shard scan"]
         IngressRows: {"Count":1,"Sum":3,"Max":3,"Min":3}
         MaxMemoryUsage: {"Count":1,"Sum":65536,"Max":65536,"Min":65536,"History":[1,65536]}
         BaseTimeMs: 1761970823323
         Output: [{"Pop":{"Chunks":{"Count":1,"Sum":1,"Max":1,"Min":1},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":29,"Max":29,"Min":29,"History":[1,29]}},"Name":"3","Push":{"WaitPeriods":{"Count":1,"Sum":1,"Max":1,"Min":1},"Chunks":{"Count":1,"Sum":3,"Max":3,"Min":3},"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1}}}]
         CpuTimeUs: {"Count":1,"Sum":186,"Max":186,"Min":186,"History":[1,186]}
         Ingress: [{"Pop":{},"External":{"PartitionCount":1,"WaitOutputTimeUs":{"Count":1,"Sum":22,"Max":22,"Min":22},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"ExternalRows":{"Count":1,"Sum":3,"Max":3,"Min":3},"FinishedPartitionCount":1,"ExternalBytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[1,72]},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1}},"Name":"CS","Ingress":{"Rows":{"Count":1,"Sum":3,"Max":3,"Min":3},"LastMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"FirstMessageMs":{"Count":1,"Sum":1,"Max":1,"Min":1},"Bytes":{"Count":1,"Sum":72,"Max":72,"Min":72,"History":[1,72]}},"Push":{}}]
         StageDurationUs: 0
         NodesScanShards: [{"shards_count":1,"node_id":1}]
         OutputBytes: {"Count":1,"Sum":29,"Max":29,"Min":29}
         UpdateTimeMs: 1
         Tasks: 1
Resource usage flame graph is successfully saved to test_fg.svg


2025-11-01 04:20:23,357 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 04:20:45,359 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:2325/1
2025-11-01 04:20:45,360 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5097
2025-11-01 04:20:45,360 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29835
2025-11-01 04:20:45,360 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16375
2025-11-01 04:20:45,361 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2325
2025-11-01 04:20:45,361 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1175
