2025-11-01 04:29:57,831 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 04:29:57,831 - INFO - ya.test - pytest_runtest_setup: test_stdin_with_invalid_json_should_fail
2025-11-01 04:29:57,832 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 04:29:57,832 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 04:29:57,848 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 9fbca2c5-7283-4c62-a8ba-44e7121bea06, ghrun-i4gyxlpqdu.auto.internal:31915): creating call state
2025-11-01 04:29:57,849 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 9fbca2c5-7283-4c62-a8ba-44e7121bea06, ghrun-i4gyxlpqdu.auto.internal:31915): request = { session_id: "ydb://session/3?node_id=1&id=ZTZmYTRkZjAtNmZkNTQ2N2QtNGZjMjkzZWMtMTkwZmViOA==" 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-11-01 04:29:57,876 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 9fbca2c5-7283-4c62-a8ba-44e7121bea06, ghrun-i4gyxlpqdu.auto.internal:31915): response = { operation { ready: true status: SUCCESS } }
2025-11-01 04:29:57,877 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, e16a52ae-3b57-4682-bcbf-7f7d204aa2b0, ghrun-i4gyxlpqdu.auto.internal:31915): creating call state
2025-11-01 04:29:57,879 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, e16a52ae-3b57-4682-bcbf-7f7d204aa2b0, ghrun-i4gyxlpqdu.auto.internal:31915): request = { session_id: "ydb://session/3?node_id=1&id=ZTZmYTRkZjAtNmZkNTQ2N2QtNGZjMjkzZWMtMTkwZmViOA==" 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-11-01 04:29:57,930 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, e16a52ae-3b57-4682-bcbf-7f7d204aa2b0, ghrun-i4gyxlpqdu.auto.internal:31915): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-01 04:29:57,931 - 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-11-01 04:29:57,932 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/g81u/004d78/ydb/apps/ydb/ydb
2025-11-01 04:29:57,933 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydb.out.0
2025-11-01 04:29:57,933 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydb.err.0
2025-11-01 04:29:57,935 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/g81u/004d78/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:31915', '--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/g81u/004d78/tmp/test_stdin_with_invalid_json_s0/invalid_data.txt' in 'None' (waiting)
2025-11-01 04:29:57,936 - DEBUG - ya.test - execute: Command pid: 2902275
2025-11-01 04:29:58,149 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) rc: 1
2025-11-01 04:29:58,149 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) elapsed time (sec): 0.21268343925476074
2025-11-01 04:29:58,154 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) idrss: 0
2025-11-01 04:29:58,155 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) inblock: 0
2025-11-01 04:29:58,170 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) isrss: 0
2025-11-01 04:29:58,170 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) ixrss: 0
2025-11-01 04:29:58,170 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) majflt: 0
2025-11-01 04:29:58,171 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) maxrss: 162560
2025-11-01 04:29:58,174 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) minflt: 3572
2025-11-01 04:29:58,175 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) msgrcv: 0
2025-11-01 04:29:58,175 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) msgsnd: 0
2025-11-01 04:29:58,175 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) nivcsw: 29
2025-11-01 04:29:58,175 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) nsignals: 0
2025-11-01 04:29:58,176 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) nswap: 0
2025-11-01 04:29:58,176 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) nvcsw: 120
2025-11-01 04:29:58,176 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) oublock: 8
2025-11-01 04:29:58,176 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) stime: 0.019539
2025-11-01 04:29:58,177 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) utime: 0.062524
2025-11-01 04:29:58,177 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) wtime: 0.214
2025-11-01 04:29:58,188 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) output:

2025-11-01 04:29:58,193 - DEBUG - ya.test - _save_outputs: Command (pid 2902275) errors:
Wrong type for json value "{"id":1}". Expected type: Array, received type: Map. 

2025-11-01 04:29:58,195 - 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-11-01 04:29:58,197 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 04:30:20,211 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:31915/1
2025-11-01 04:30:20,212 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21890
2025-11-01 04:30:20,212 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12352
2025-11-01 04:30:20,212 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5512
2025-11-01 04:30:20,213 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/31915
2025-11-01 04:30:20,213 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19658
