2025-11-01 16:49:15,052 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:49:15,053 - INFO - ya.test - pytest_runtest_setup: test_stdin_par_csv[scripting]
2025-11-01 16:49:15,053 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:49:15,054 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:49:15,057 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 15954b7a-9dc1-4eea-a3ae-21064b1ff6ae, ghrun-tvlw7frnpa.auto.internal:5416): creating call state
2025-11-01 16:49:15,058 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 15954b7a-9dc1-4eea-a3ae-21064b1ff6ae, ghrun-tvlw7frnpa.auto.internal:5416): request = { session_id: "ydb://session/3?node_id=1&id=NjM0M2Y5YTgtNzUzYTVjOC01MWM2YWM3LWQ5MmYzZDY4" path: "/Root/test_stdin_par_csv_scripting_0" 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 16:49:15,078 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 15954b7a-9dc1-4eea-a3ae-21064b1ff6ae, ghrun-tvlw7frnpa.auto.internal:5416): response = { operation { ready: true status: SUCCESS } }
2025-11-01 16:49:15,078 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, 21b2e194-2f30-43eb-9245-518b9aae2652, ghrun-tvlw7frnpa.auto.internal:5416): creating call state
2025-11-01 16:49:15,079 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, 21b2e194-2f30-43eb-9245-518b9aae2652, ghrun-tvlw7frnpa.auto.internal:5416): request = { session_id: "ydb://session/3?node_id=1&id=NjM0M2Y5YTgtNzUzYTVjOC01MWM2YWM3LWQ5MmYzZDY4" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n        PRAGMA TablePathPrefix(\"/Root\");\n        UPSERT INTO test_stdin_par_csv_scripting_0 (`key`, `id`, `value`) VALUES (1, 1111, \"one\");\n        UPSERT INTO test_stdin_par_csv_scripting_0 (`key`, `id`, `value`) VALUES (2, 2222, \"two\");\n        UPSERT INTO test_stdin_par_csv_scripting_0 (`key`, `id`, `value`) VALUES (3, 3333, \"three\");\n        UPSERT INTO test_stdin_par_csv_scripting_0 (`key`, `id`, `value`) VALUES (5, 5555, \"five\");\n        UPSERT INTO test_stdin_par_csv_scripting_0 (`key`, `id`, `value`) VALUES (7, 7777, \"seven\");\n        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:49:15,109 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, 21b2e194-2f30-43eb-9245-518b9aae2652, ghrun-tvlw7frnpa.auto.internal:5416): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-01 16:49:15,110 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_ydb_scripting.py::TestExecuteScriptWithParamsFromStdin, test_name: test_stdin_par_csv[scripting])
2025-11-01 16:49:15,112 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/q6a6/001af7/ydb/apps/ydb/ydb
2025-11-01 16:49:15,113 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydb.out.0
2025-11-01 16:49:15,113 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydb.err.0
2025-11-01 16:49:15,113 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/q6a6/001af7/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:5416', '--database', '/Root', 'scripting', 'yql', '-s', 'DECLARE $s AS Struct<id:UInt64,value:Utf8>; SELECT $s AS s; ', '--stdin-format', 'csv', '--stdin-par', 's']' with input '/home/runner/.ya/build/build_root/q6a6/001af7/tmp/test_stdin_par_csv_scripting_0/stdin.txt' in 'None' (waiting)
2025-11-01 16:49:15,114 - DEBUG - ya.test - execute: Command pid: 3169546
2025-11-01 16:49:15,270 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) rc: 0
2025-11-01 16:49:15,271 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) elapsed time (sec): 0.15389513969421387
2025-11-01 16:49:15,271 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) idrss: 0
2025-11-01 16:49:15,271 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) inblock: 0
2025-11-01 16:49:15,271 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) isrss: 0
2025-11-01 16:49:15,271 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) ixrss: 0
2025-11-01 16:49:15,271 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) majflt: 0
2025-11-01 16:49:15,272 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) maxrss: 166328
2025-11-01 16:49:15,272 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) minflt: 3563
2025-11-01 16:49:15,272 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) msgrcv: 0
2025-11-01 16:49:15,272 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) msgsnd: 0
2025-11-01 16:49:15,272 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) nivcsw: 20
2025-11-01 16:49:15,272 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) nsignals: 0
2025-11-01 16:49:15,273 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) nswap: 0
2025-11-01 16:49:15,273 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) nvcsw: 150
2025-11-01 16:49:15,273 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) oublock: 8
2025-11-01 16:49:15,274 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) stime: 0.027079
2025-11-01 16:49:15,274 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) utime: 0.046421
2025-11-01 16:49:15,274 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) wtime: 0.156
2025-11-01 16:49:15,275 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) output:
┌─────────────────────────┐
│ s                       │
├─────────────────────────┤
│ {"id":1,"value":"ab,a"} │
└─────────────────────────┘

2025-11-01 16:49:15,275 - DEBUG - ya.test - _save_outputs: Command (pid 3169546) errors:

2025-11-01 16:49:15,280 - DEBUG - __tests__.test_ydb_scripting - execute_ydb_cli_command: std_out:
┌─────────────────────────┐
│ s                       │
├─────────────────────────┤
│ {"id":1,"value":"ab,a"} │
└─────────────────────────┘

2025-11-01 16:49:15,291 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 16:49:38,190 - DEBUG - ya.test - _verify_test: Verifying [test_ydb_scripting.TestExecuteScriptWithParamsFromStdin.test_stdin_par_csv[scripting] in ydb/tests/functional/ydb_cli] canonical results
2025-11-01 16:49:38,196 - DEBUG - ya.test - verify: Test test_ydb_scripting.TestExecuteScriptWithParamsFromStdin.test_stdin_par_csv[scripting] status: good
