2026-01-08 02:57:19,306 - INFO - ya.test.2429408  - pytest_runtest_setup: ####################################################################################################
2026-01-08 02:57:19,306 - INFO - ya.test.2429408  - pytest_runtest_setup: test_stdin_with_invalid_json_should_fail
2026-01-08 02:57:19,307 - INFO - ya.test.2429408  - pytest_runtest_setup: ####################################################################################################
2026-01-08 02:57:19,307 - INFO - ya.test.2429408  - pytest_runtest_setup: Test setup
2026-01-08 02:57:19,308 - DEBUG - ydb.connection.2429408  - _prepare_call: RpcState(CreateTable, 731ecf11-5521-4108-92b6-8bc5d1f6ec68, ghrun-paw7opzmb4.auto.internal:13533): creating call state
2026-01-08 02:57:19,309 - DEBUG - ydb.connection.2429408  - _log_request: RpcState(CreateTable, 731ecf11-5521-4108-92b6-8bc5d1f6ec68, ghrun-paw7opzmb4.auto.internal:13533): request = { session_id: "ydb://session/3?node_id=1&id=OWQxOGEyMTgtMWZmYzlkZTQtZGRiYTFhYjQtMTA2ODQ1ZjM=" 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 } } }
2026-01-08 02:57:19,321 - DEBUG - ydb.connection.2429408  - _log_response: RpcState(CreateTable, 731ecf11-5521-4108-92b6-8bc5d1f6ec68, ghrun-paw7opzmb4.auto.internal:13533): response = { operation { ready: true status: SUCCESS } }
2026-01-08 02:57:19,322 - DEBUG - ydb.connection.2429408  - _prepare_call: RpcState(ExecuteDataQuery, dae354ab-3d69-49be-a56c-7b4f08895726, ghrun-paw7opzmb4.auto.internal:13533): creating call state
2026-01-08 02:57:19,322 - DEBUG - ydb.connection.2429408  - _log_request: RpcState(ExecuteDataQuery, dae354ab-3d69-49be-a56c-7b4f08895726, ghrun-paw7opzmb4.auto.internal:13533): request = { session_id: "ydb://session/3?node_id=1&id=OWQxOGEyMTgtMWZmYzlkZTQtZGRiYTFhYjQtMTA2ODQ1ZjM=" 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 } } }
2026-01-08 02:57:19,342 - DEBUG - ydb.connection.2429408  - _log_response: RpcState(ExecuteDataQuery, dae354ab-3d69-49be-a56c-7b4f08895726, ghrun-paw7opzmb4.auto.internal:13533): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2026-01-08 02:57:19,343 - INFO - ya.test.2429408  - pytest_runtest_call: Test call (class_name: test_ydb_sql.py::TestExecuteSqlWithParameterEdgeCases, test_name: test_stdin_with_invalid_json_should_fail)
2026-01-08 02:57:19,344 - DEBUG - ya.test.2429408  - get_binary: Binary was found by /home/runner/.ya/build/build_root/pp6n/003385/ydb/apps/ydb/ydb
2026-01-08 02:57:19,345 - DEBUG - ya.test.2429408  - _get_command_output_file: Command out will be placed to ydb.out.0
2026-01-08 02:57:19,345 - DEBUG - ya.test.2429408  - _get_command_output_file: Command err will be placed to ydb.err.0
2026-01-08 02:57:19,345 - DEBUG - ya.test.2429408  - execute: Executing '['/home/runner/.ya/build/build_root/pp6n/003385/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:13533', '--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/pp6n/003385/tmp/test_stdin_with_invalid_json_s0/invalid_data.txt' in 'None' (waiting)
2026-01-08 02:57:19,346 - DEBUG - ya.test.2429408  - execute: Command pid: 2432526
2026-01-08 02:57:19,448 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) rc: 1
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) elapsed time (sec): 0.10175299644470215
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) idrss: 0
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) inblock: 0
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) isrss: 0
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) ixrss: 0
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) majflt: 1
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) maxrss: 164236
2026-01-08 02:57:19,449 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) minflt: 3685
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) msgrcv: 0
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) msgsnd: 0
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) nivcsw: 0
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) nsignals: 0
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) nswap: 0
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) nvcsw: 173
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) oublock: 8
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) stime: 0.019896
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) utime: 0.034818
2026-01-08 02:57:19,450 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) wtime: 0.103
2026-01-08 02:57:19,451 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) output:

2026-01-08 02:57:19,451 - DEBUG - ya.test.2429408  - _save_outputs: Command (pid 2432526) errors:
Wrong type for json value "{"id":1}". Expected type: Array, received type: Map. 

2026-01-08 02:57:19,451 - ERROR - ya.test.2429408  - _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'

2026-01-08 02:57:19,452 - INFO - ya.test.2429408  - pytest_runtest_teardown: Test teardown
2026-01-08 02:57:41,454 - INFO - ydb.tests.library.harness.kikimr_runner.2429408  - stop: Stopped node localhost:13533/1
2026-01-08 02:57:41,455 - DEBUG - library.python.filelock.2429408  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7947
2026-01-08 02:57:41,455 - DEBUG - library.python.filelock.2429408  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32145
2026-01-08 02:57:41,455 - DEBUG - library.python.filelock.2429408  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11686
2026-01-08 02:57:41,456 - DEBUG - library.python.filelock.2429408  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13533
2026-01-08 02:57:41,456 - DEBUG - library.python.filelock.2429408  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/63925
