2025-10-31 15:31:26,146 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 15:31:26,146 - INFO - ya.test - pytest_runtest_setup: test_stdin_with_invalid_json_should_fail
2025-10-31 15:31:26,147 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 15:31:26,147 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-31 15:31:26,148 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, b4b6740c-7d8e-4479-8d4f-3ceea25cc151, ghrun-upzbhs6y6e.auto.internal:1366): creating call state
2025-10-31 15:31:26,149 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, b4b6740c-7d8e-4479-8d4f-3ceea25cc151, ghrun-upzbhs6y6e.auto.internal:1366): request = { session_id: "ydb://session/3?node_id=1&id=ZjRmZWM5YjYtYTVhZjZlOWItOTZlY2MzNmUtZmVlMDA3Nzg=" path: "/Root/test_stdin_with_invalid_json_s0" 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-10-31 15:31:26,163 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, b4b6740c-7d8e-4479-8d4f-3ceea25cc151, ghrun-upzbhs6y6e.auto.internal:1366): response = { operation { ready: true status: SUCCESS } }
2025-10-31 15:31:26,164 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, fc549586-6ed2-4b62-9c62-f89fd7d55eeb, ghrun-upzbhs6y6e.auto.internal:1366): creating call state
2025-10-31 15:31:26,165 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, fc549586-6ed2-4b62-9c62-f89fd7d55eeb, ghrun-upzbhs6y6e.auto.internal:1366): request = { session_id: "ydb://session/3?node_id=1&id=ZjRmZWM5YjYtYTVhZjZlOWItOTZlY2MzNmUtZmVlMDA3Nzg=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n        PRAGMA TablePathPrefix(\"/Root\");\n        UPSERT INTO test_stdin_with_invalid_json_s0 (`key`, `id`, `value`) VALUES (1, 1111, \"one\");\n        UPSERT INTO test_stdin_with_invalid_json_s0 (`key`, `id`, `value`) VALUES (2, 2222, \"two\");\n        UPSERT INTO test_stdin_with_invalid_json_s0 (`key`, `id`, `value`) VALUES (3, 3333, \"three\");\n        UPSERT INTO test_stdin_with_invalid_json_s0 (`key`, `id`, `value`) VALUES (5, 5555, \"five\");\n        UPSERT INTO test_stdin_with_invalid_json_s0 (`key`, `id`, `value`) VALUES (7, 7777, \"seven\");\n        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-31 15:31:26,192 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, fc549586-6ed2-4b62-9c62-f89fd7d55eeb, ghrun-upzbhs6y6e.auto.internal:1366): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-10-31 15:31:26,193 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_ydb_sql.py::TestExecuteSqlWithParameterEdgeCases, test_name: test_stdin_with_invalid_json_should_fail)
2025-10-31 15:31:26,194 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/stm2/00304d/ydb/apps/ydb/ydb
2025-10-31 15:31:26,195 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydb.out.0
2025-10-31 15:31:26,195 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydb.err.0
2025-10-31 15:31:26,195 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/stm2/00304d/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:1366', '--database', '/Root', 'sql', '-s', 'DECLARE $lines AS List<Struct<id:UInt64>>; SELECT tl.id FROM AS_TABLE($lines) AS tl;', '--input-param-name', 'lines', '--input-framing', 'newline-delimited']' with input '/home/runner/.ya/build/build_root/stm2/00304d/tmp/test_stdin_with_invalid_json_s0/invalid_data.txt' in 'None' (waiting)
2025-10-31 15:31:26,196 - DEBUG - ya.test - execute: Command pid: 2662451
2025-10-31 15:31:26,306 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) rc: 1
2025-10-31 15:31:26,306 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) elapsed time (sec): 0.10948753356933594
2025-10-31 15:31:26,306 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) idrss: 0
2025-10-31 15:31:26,308 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) inblock: 0
2025-10-31 15:31:26,308 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) isrss: 0
2025-10-31 15:31:26,308 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) ixrss: 0
2025-10-31 15:31:26,308 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) majflt: 0
2025-10-31 15:31:26,308 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) maxrss: 163024
2025-10-31 15:31:26,308 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) minflt: 3561
2025-10-31 15:31:26,308 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) msgrcv: 0
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) msgsnd: 0
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) nivcsw: 2
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) nsignals: 0
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) nswap: 0
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) nvcsw: 163
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) oublock: 8
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) stime: 0.025397
2025-10-31 15:31:26,309 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) utime: 0.03991
2025-10-31 15:31:26,310 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) wtime: 0.11
2025-10-31 15:31:26,310 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) output:

2025-10-31 15:31:26,310 - DEBUG - ya.test - _save_outputs: Command (pid 2662451) errors:
Wrong type for json value "{"id":1}". Expected type: Array, received type: Map. 

2025-10-31 15:31:26,310 - ERROR - ya.test - _finalise: Execution failed with exit code: 1
	,std_out:b''
	std_err:b'Wrong type for json value "{"id":1}". Expected type: Array, received type: Map. \n'

2025-10-31 15:31:26,312 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-10-31 15:31:48,316 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:1366/1
2025-10-31 15:31:48,317 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15461
2025-10-31 15:31:48,318 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30277
2025-10-31 15:31:48,318 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29447
2025-10-31 15:31:48,318 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1366
2025-10-31 15:31:48,318 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11224
