============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/5n9s/000a8d/ydb/tests/functional/tpc/medium/test-results/py3test/testing_out_stuff/test_clickbench
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: allure-pytest-2.13.5, typeguard-2.13.3
collected 43 items

test_clickbench.py ...........................................

============================== slowest durations ===============================
102.81s setup    test_clickbench.py::TestClickbench::test_clickbench[0]
18.52s call     test_clickbench.py::TestClickbench::test_clickbench[29]
10.99s call     test_clickbench.py::TestClickbench::test_clickbench[9]
6.72s call     test_clickbench.py::TestClickbench::test_clickbench[22]
6.61s call     test_clickbench.py::TestClickbench::test_clickbench[0]
6.41s call     test_clickbench.py::TestClickbench::test_clickbench[10]
5.75s call     test_clickbench.py::TestClickbench::test_clickbench[28]
5.69s call     test_clickbench.py::TestClickbench::test_clickbench[13]
5.65s call     test_clickbench.py::TestClickbench::test_clickbench[12]
5.44s call     test_clickbench.py::TestClickbench::test_clickbench[7]
5.40s call     test_clickbench.py::TestClickbench::test_clickbench[1]
5.36s call     test_clickbench.py::TestClickbench::test_clickbench[11]
5.26s call     test_clickbench.py::TestClickbench::test_clickbench[8]
5.22s call     test_clickbench.py::TestClickbench::test_clickbench[6]
4.75s call     test_clickbench.py::TestClickbench::test_clickbench[39]
4.67s call     test_clickbench.py::TestClickbench::test_clickbench[42]
4.65s call     test_clickbench.py::TestClickbench::test_clickbench[2]
4.64s call     test_clickbench.py::TestClickbench::test_clickbench[23]
4.63s call     test_clickbench.py::TestClickbench::test_clickbench[27]
4.39s call     test_clickbench.py::TestClickbench::test_clickbench[4]
4.22s call     test_clickbench.py::TestClickbench::test_clickbench[3]
4.11s call     test_clickbench.py::TestClickbench::test_clickbench[5]
3.96s call     test_clickbench.py::TestClickbench::test_clickbench[37]
3.91s call     test_clickbench.py::TestClickbench::test_clickbench[32]
3.90s call     test_clickbench.py::TestClickbench::test_clickbench[18]
3.88s call     test_clickbench.py::TestClickbench::test_clickbench[41]
3.86s call     test_clickbench.py::TestClickbench::test_clickbench[30]
3.79s call     test_clickbench.py::TestClickbench::test_clickbench[35]
3.76s call     test_clickbench.py::TestClickbench::test_clickbench[38]
3.66s call     test_clickbench.py::TestClickbench::test_clickbench[40]
3.64s call     test_clickbench.py::TestClickbench::test_clickbench[36]
3.61s call     test_clickbench.py::TestClickbench::test_clickbench[31]
3.32s call     test_clickbench.py::TestClickbench::test_clickbench[21]
3.24s call     test_clickbench.py::TestClickbench::test_clickbench[14]
3.11s call     test_clickbench.py::TestClickbench::test_clickbench[20]
3.09s call     test_clickbench.py::TestClickbench::test_clickbench[17]
3.08s call     test_clickbench.py::TestClickbench::test_clickbench[34]
2.97s call     test_clickbench.py::TestClickbench::test_clickbench[26]
2.91s call     test_clickbench.py::TestClickbench::test_clickbench[16]
2.57s call     test_clickbench.py::TestClickbench::test_clickbench[24]
2.55s call     test_clickbench.py::TestClickbench::test_clickbench[33]
2.51s call     test_clickbench.py::TestClickbench::test_clickbench[25]
2.48s call     test_clickbench.py::TestClickbench::test_clickbench[15]
2.24s call     test_clickbench.py::TestClickbench::test_clickbench[19]
0.05s setup    test_clickbench.py::TestClickbench::test_clickbench[13]
0.03s setup    test_clickbench.py::TestClickbench::test_clickbench[12]
0.02s teardown test_clickbench.py::TestClickbench::test_clickbench[11]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[27]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[3]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[38]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[25]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[17]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[22]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[16]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[20]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[24]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[28]
0.01s teardown test_clickbench.py::TestClickbench::test_clickbench[19]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[15]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[36]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[35]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[34]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[21]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[23]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[7]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[33]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[8]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[26]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[14]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[1]
0.01s teardown test_clickbench.py::TestClickbench::test_clickbench[0]
0.01s setup    test_clickbench.py::TestClickbench::test_clickbench[6]

(57 durations < 0.005s hidden.  Use -vv to show these durations.)
======================== 43 passed in 304.64s (0:05:04) ========================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/5n9s/000aa4/ydb/tests/functional/tpc/medium/test-results/py3test/testing_out_stuff/test_tpch
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: allure-pytest-2.13.5, typeguard-2.13.3
collected 22 items

test_tpch.py ........F

=================================== FAILURES ===================================
___________________________ TestTpchS1.test_tpch[9] ____________________________
ydb/tests/olap/load/lib/tpch.py:45: in test_tpch
    self.run_workload_test(self._get_path(), query_num)
ydb/tests/olap/load/lib/conftest.py:297: in run_workload_test
    self.process_query_result(result, query_num, qparams.iterations, True)
ydb/tests/olap/load/lib/conftest.py:245: in process_query_result
    raise exc
ydb/tests/olap/lib/ydb_cli.py:286: in process
    self._exec_cli()
ydb/tests/olap/lib/ydb_cli.py:273: in _exec_cli
    process = yatest.common.process.execute(self._get_cmd(), check_exit_code=False)
library/python/testing/yatest_common/yatest/common/process.py:656: in execute
    res.wait(check_exit_code, timeout, on_timeout)
library/python/testing/yatest_common/yatest/common/process.py:400: in wait
    _wait()
library/python/testing/yatest_common/yatest/common/process.py:335: in _wait
    pid, sts, rusage = os.wait4(self._process.pid, 0)
library/python/pytest/plugins/ya.py:347: in _graceful_shutdown
    _graceful_shutdown_on_log(not capman.is_globally_capturing())
library/python/pytest/plugins/ya.py:321: in _graceful_shutdown_on_log
    pytest.exit("Graceful shutdown requested")
E   Failed: Graceful shutdown requested
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_tpch[9]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_tpch.py::TestTpchS1, test_name: test_tpch[9])
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db HTTP/1.1" 200 553
DEBUG    root:ydb_cluster.py:269 Expected nodes count: 1
INFO     root:ydb_cluster.py:196 get_tables /local/test_db/olap_yatests/tpch/s1
INFO     root:ydb_cluster.py:190 describe /local/test_db/olap_yatests/tpch/s1
DEBUG    ydb.connection:connection.py:375 RpcState(DescribePath, a41c03c8-0728-41c0-b7a1-0a152f12aec1, ghrun-jsz6bs6lqq.auto.internal:6813): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DescribePath, a41c03c8-0728-41c0-b7a1-0a152f12aec1, ghrun-jsz6bs6lqq.auto.internal:6813): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/local/test_db/olap_yatests/tpch/s1" }
DEBUG    ydb.connection:connection.py:51 RpcState(DescribePath, a41c03c8-0728-41c0-b7a1-0a152f12aec1, ghrun-jsz6bs6lqq.auto.internal:6813): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Scheme.DescribePathResult] { self { name: "s1" owner: "root@builtin" type: DIRECTORY effective_permissions { subject: "USERS" permission_names: "ydb.database.connect" } effective_permissions { subject: "METADATA-READERS" permission_names: "ydb.generic.list" } effective_permissions { subject: "DATA-READERS" permission_names: "ydb.granular.select_row" } effective_permissions { subject: "DATA-WRITERS" permission_names: "ydb.tables.modify" } effective_permissions { subject: "DDL-ADMINS" permission_names: "ydb.granular.create_directory" permission_names: "ydb.granular.write_attributes" permission_names: "ydb.granular.create_table" permission_names: "ydb.granular.remove_schema" permission_names: "ydb.granular.create_queue" permission_names: "ydb.granular.alter_schema" } effective_permissions { subject: "ACCESS-ADMINS" permission_names: "ydb.access.grant" } effective_permissions { subject: "DATABASE-ADMINS" permission_names: "ydb.generic.manage" } created_at { plan_step: 1762950846410 tx_id: 281474976720659 } } } } } }
INFO     root:ydb_cluster.py:177 list /local/test_db/olap_yatests/tpch/s1
DEBUG    ydb.connection:connection.py:375 RpcState(ListDirectory, ea5ea6b9-d82c-49a4-b9a6-6b5c6ed6e5e1, ghrun-jsz6bs6lqq.auto.internal:6813): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListDirectory, ea5ea6b9-d82c-49a4-b9a6-6b5c6ed6e5e1, ghrun-jsz6bs6lqq.auto.internal:6813): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/local/test_db/olap_yatests/tpch/s1" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListDirectory, ea5ea6b9-d82c-49a4-b9a6-6b5c6ed6e5e1, ghrun-jsz6bs6lqq.auto.internal:6813): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Scheme.ListDirectoryResult] { self { name: "s1" owner: "root@builtin" type: DIRECTORY effective_permissions { subject: "USERS" permission_names: "ydb.database.connect" } effective_permissions { subject: "METADATA-READERS" permission_names: "ydb.generic.list" } effective_permissions { subject: "DATA-READERS" permission_names: "ydb.granular.select_row" } effective_permissions { subject: "DATA-WRITERS" permission_names: "ydb.tables.modify" } effective_permissions { subject: "DDL-ADMINS" permission_names: "ydb.granular.create_directory" permission_names: "ydb.granular.write_attributes" permission_names: "ydb.granular.create_table" permission_names: "ydb.granular.remove_schema" permission_names: "ydb.granular.create_queue" permission_names: "ydb.granular.alter_schema" } effective_permissions { subject: "ACCESS-ADMINS" permission_names: "ydb.access.grant" } effective_permissions { subject: "DATABASE-ADMINS" permission_names: "ydb.generic.manage" } created_at { plan_step: 1762950846410 tx_id: 281474976720659 } } children { name: "customer" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950846410 tx_id: 281474976720659 } } children { name: "lineitem" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950848820 tx_id: 281474976720660 } } children { name: "nation" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950849260 tx_id: 281474976720661 } } children { name: "orders" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950850990 tx_id: 281474976720662 } } children { name: "part" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950852970 tx_id: 281474976720663 } } children { name: "partsupp" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950854810 tx_id: 281474976720664 } } children { name: "region" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950855130 tx_id: 281474976720665 } } children { name: "supplier" owner: "root@builtin" type: COLUMN_TABLE created_at { plan_step: 1762950857200 tx_id: 281474976720666 } } } } } }
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/customer&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/customer&tablets=true HTTP/1.1" 200 581
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/customer balance: 64-64 shards.
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/lineitem&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/lineitem&tablets=true HTTP/1.1" 200 581
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/lineitem balance: 64-64 shards.
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/nation&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/nation&tablets=true HTTP/1.1" 200 580
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/nation balance: 1-1 shards.
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/orders&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/orders&tablets=true HTTP/1.1" 200 581
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/orders balance: 64-64 shards.
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/part&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/part&tablets=true HTTP/1.1" 200 581
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/part balance: 64-64 shards.
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/partsupp&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/partsupp&tablets=true HTTP/1.1" 200 581
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/partsupp balance: 64-64 shards.
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/region&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/region&tablets=true HTTP/1.1" 200 580
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/region balance: 1-1 shards.
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/supplier&tablets=true HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db&path=/local/test_db/olap_yatests/tpch/s1/supplier&tablets=true HTTP/1.1" 200 581
INFO     root:ydb_cluster.py:311 Table /local/test_db/olap_yatests/tpch/s1/supplier balance: 64-64 shards.
DEBUG    ydb.connection:connection.py:375 RpcState(StreamExecuteScanQuery, f40d1f3a-0f4e-4ddf-9843-ab8576c36bd8, ghrun-jsz6bs6lqq.auto.internal:6813): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(StreamExecuteScanQuery, f40d1f3a-0f4e-4ddf-9843-ab8576c36bd8, ghrun-jsz6bs6lqq.auto.internal:6813): request = { query { yql_text: "select 1" } mode: MODE_EXEC collect_stats: STATS_COLLECTION_NONE }
DEBUG    ydb.connection:connection.py:51 RpcState(StreamExecuteScanQuery, f40d1f3a-0f4e-4ddf-9843-ab8576c36bd8, ghrun-jsz6bs6lqq.auto.internal:6813): response = { <_MultiThreadedRendezvous object> }
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes?database=/local/test_db HTTP/1.1" 307 0
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /node/50000/viewer/json/nodes?database=/local/test_db HTTP/1.1" 200 553
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/5n9s/000aa4/ydb/apps/ydb/ydb
DEBUG    ya.test:process.py:678 Command out will be placed to ydb.out.9
DEBUG    ya.test:process.py:678 Command err will be placed to ydb.err.9
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/5n9s/000aa4/ydb/apps/ydb/ydb', '-e', 'grpc://localhost:63466', '-d', '/local/test_db', 'workload', 'tpch', '--path', 'olap_yatests/tpch/s1', 'run', '--json', '/home/runner/.ya/build/build_root/5n9s/000aa4/ydb/tests/functional/tpc/medium/test-results/py3test/testing_out_stuff/test_tpch/testing_out_stuff/test_tpch.py.TestTpchS1.test_tpch.9/q9.json', '--output', '/home/runner/.ya/build/build_root/5n9s/000aa4/ydb/tests/functional/tpc/medium/test-results/py3test/testing_out_stuff/test_tpch/testing_out_stuff/test_tpch.py.TestTpchS1.test_tpch.9/q9.out', '--executer', 'generic', '--include', '9', '--iterations', '1', '--plan', '/home/runner/.ya/build/build_root/5n9s/000aa4/ydb/tests/functional/tpc/medium/test-results/py3test/testing_out_stuff/test_tpch/testing_out_stuff/test_tpch.py.TestTpchS1.test_tpch.9/q9.plan', '--global-timeout', '1800.0s', '--verbose', '--check-canonical', '--scale', '1']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 2514176
DEBUG    ya.test:process.py:772 Killing process 2514176
DEBUG    ya.test:process.py:798 Killing process tree for pid 2514176 (bin:'error([Errno 2] No such file or directory: '/proc/2514176/exe')')
DEBUG    ya.test:process.py:805 Error while sending signal 19 to pid 2514176: [Errno 3] No such process
DEBUG    ya.test:process.py:805 Error while sending signal 9 to pid 2514176: [Errno 3] No such process
DEBUG    ya.test:process.py:805 Error while sending signal 18 to pid 2514176: [Errno 3] No such process
DEBUG    ya.test:process.py:360 Process resource usage is not available as process finished before wait4 was called
DEBUG    ya.test:process.py:404 Command exception: Graceful shutdown requested
DEBUG    ya.test:process.py:259 Command (pid 2514176) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 2514176) elapsed time (sec): 16.68009042739868
DEBUG    ya.test:process.py:263 Command (pid 2514176) wtime: 16.681
DEBUG    ya.test:process.py:275 Command (pid 2514176) output:
Query09:
Query text:
$z1_12 = 1;
$p = (select p_partkey, p_name
from
    `olap_yatests/tpch/s1/part`
where p_name like '%green%');
$j1 = (select ps_partkey, ps_suppkey, ps_supplycost
from
    `olap_yatests/tpch/s1/partsupp` as ps
join $p as p
on ps.ps_partkey = p.p_partkey);
$j2 = (select l_suppkey, l_partkey, l_orderkey, l_extendedprice, l_discount, ps_supplycost, l_quantity
from
    `olap_yatests/tpch/s1/lineitem` as l
join $j1 as j
on l.l_suppkey = j.ps_suppkey AND l.l_partkey = j.ps_partkey);
$j3 = (select l_orderkey, s_nationkey, l_extendedprice, l_discount, ps_supplycost, l_quantity
from
    `olap_yatests/tpch/s1/supplier` as s
join $j2 as j
on j.l_suppkey = s.s_suppkey);
$j4 = (select o_orderdate, l_extendedprice, l_discount, ps_supplycost, l_quantity, s_nationkey
from
    `olap_yatests/tpch/s1/orders` as o
join $j3 as j
on o.o_orderkey = j.l_orderkey);
$j5 = (select n_name, o_orderdate, l_extendedprice, l_discount, ps_supplycost, l_quantity
from
    `olap_yatests/tpch/s1/nation` as n
join $j4 as j
on j.s_nationkey = n.n_nationkey
);
$profit = (select 
    n_name as nation,
    DateTime::GetYear(cast(o_orderdate as timestamp)) as o_year,
    l_extendedprice * ($z1_12 - l_discount) - ps_supplycost * l_quantity as amount
from $j5);
select
    nation,
    o_year,
    sum(amount) as sum_profit
from $profit
group by
    nation,
    o_year
order by
    nation,
    o_year desc;

	iteration 0:	ok	13.333454s seconds

Results for 1 iterations
┌─────────┬──────────┬─────────┬─────────┬─────────┬─────────┬───────────┬─────────┬─────────┬─────────┬─────────┬──────────────┬────────────┬────────────┐
│ Query # │ ColdTime │ Min     │ Max     │ Mean    │ Median  │ UnixBench │ Std     │ RttMin  │ RttMax  │ RttAvg  │ SuccessCount │ FailsCount │ DiffsCount │
├─────────┼──────────┼─────────┼─────────┼─────────┼─────────┼───────────┼─────────┼─────────┼─────────┼─────────┼──────────────┼────────────┼────────────┤
│ Query09 │  12.738  │  12.738 │  12.738 │  12.738 │  12.738 │  12.738   │   0.000 │   0.595 │   0.595 │   0.594 │ 1            │            │            │
├─────────┼──────────┼─────────┼─────────┼─────────┼─────────┼───────────┼─────────┼─────────┼─────────┼─────────┼──────────────┼────────────┼────────────┤
│ Sum     │  12.738  │  12.738 │  12.738 │  12.738 │  12.738 │  12.738   │   0.000 │   0.595 │   0.595 │   0.594 │ 1            │            │            │
├─────────┼──────────┼─────────┼─────────┼─────────┼─────────┼───────────┼─────────┼─────────┼─────────┼─────────┼──────────────┼────────────┼────────────┤
│ Avg     │  12.738  │  12.738 │  12.738 │  12.738 │  12.738 │  12.738   │   0.000 │   0.595 │   0.595 │   0.594 │ 1            │            │            │
├─────────┼──────────┼─────────┼─────────┼─────────┼─────────┼───────────┼─────────┼─────────┼─────────┼─────────┼──────────────┼────────────┼────────────┤
│ GAvg    │  12.738  │  12.738 │  12.738 │  12.738 │  12.738 │  12.738   │   0.000 │   0.595 │   0.595 │   0.001 │ 1            │            │            │
└─────────┴──────────┴─────────┴─────────┴─────────┴─────────┴───────────┴─────────┴─────────┴─────────┴─────────┴──────────────┴────────────┴────────────┘

Results saved to /home/runner/.ya/build/build_root/5n9s/000aa4/ydb/tests/functional/tpc/medium/test-results/py3test/testing_out_stuff/test_tpch/testing_out_stuff/test_tpch.py.TestTpchS1.test_tpch.9/q9.out
Json report saved to /home/runner/.ya/build/build_root/5n9s/000aa4/ydb/tests/functional/tpc/medium/test-results/py3test/testing_out_stuff/test_tpch/testing_out_stuff/test_tpch.py.TestTpchS1.test_tpch.9/q9.json

DEBUG    ya.test:process.py:276 Command (pid 2514176) errors:

[K|Progress: 0 rows read, 0 B read.
[K
[K|Progress: 0 rows read, 0 B read.
[K/Progress: 1.82M rows read, 49.3M B read.
[K-Progress: 5.38M rows read, 227M B read.
[K\Progress: 8.32M rows read, 392M B read.
[K|Progress: 8.32M rows read, 392M B read.
[K
DEBUG    urllib3.connectionpool:connectionpool.py:228 Starting new HTTP connection (1): localhost:12079
DEBUG    urllib3.connectionpool:connectionpool.py:456 http://localhost:12079 "GET /viewer/json/nodes HTTP/1.1" 200 791
============================== slowest durations ===============================
404.82s setup    test_tpch.py::TestTpchS1::test_tpch[1]
28.96s call     test_tpch.py::TestTpchS1::test_tpch[2]
28.64s call     test_tpch.py::TestTpchS1::test_tpch[3]
28.46s call     test_tpch.py::TestTpchS1::test_tpch[1]
23.25s call     test_tpch.py::TestTpchS1::test_tpch[8]
22.32s call     test_tpch.py::TestTpchS1::test_tpch[4]
21.06s call     test_tpch.py::TestTpchS1::test_tpch[7]
20.42s call     test_tpch.py::TestTpchS1::test_tpch[5]
16.94s call     test_tpch.py::TestTpchS1::test_tpch[9]
5.65s call     test_tpch.py::TestTpchS1::test_tpch[6]
0.01s setup    test_tpch.py::TestTpchS1::test_tpch[2]
0.01s setup    test_tpch.py::TestTpchS1::test_tpch[4]
0.01s teardown test_tpch.py::TestTpchS1::test_tpch[1]

(13 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED test_tpch.py::TestTpchS1::test_tpch[9] - Failed: Graceful shutdown requested
!!!!!!!!!!!!!! _pytest.outcomes.Exit: Graceful shutdown requested !!!!!!!!!!!!!!
=================== 1 failed, 8 passed in 601.72s (0:10:01) ====================

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

During handling of the above exception, another exception occurred:

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