2025-11-01 16:27:14,326 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:27:14,327 - INFO - ya.test - pytest_runtest_setup: test_stdin_with_invalid_json_should_fail
2025-11-01 16:27:14,327 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:27:14,327 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:27:14,329 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 7592df3c-1ee5-4e8e-b6e7-d9b68f699ae2, ghrun-tvlw7frnpa.auto.internal:6538): creating call state
2025-11-01 16:27:14,330 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 7592df3c-1ee5-4e8e-b6e7-d9b68f699ae2, ghrun-tvlw7frnpa.auto.internal:6538): request = { session_id: "ydb://session/3?node_id=1&id=ZWU3Y2NjOWQtODBlZGEyMzMtZWMwMzIyNzUtNmY5YmVlZGU=" 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 16:27:14,344 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 7592df3c-1ee5-4e8e-b6e7-d9b68f699ae2, ghrun-tvlw7frnpa.auto.internal:6538): response = { operation { ready: true status: SUCCESS } }
2025-11-01 16:27:14,345 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, 553798dd-f091-4d86-a22f-ec1d7b4927e0, ghrun-tvlw7frnpa.auto.internal:6538): creating call state
2025-11-01 16:27:14,346 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, 553798dd-f091-4d86-a22f-ec1d7b4927e0, ghrun-tvlw7frnpa.auto.internal:6538): request = { session_id: "ydb://session/3?node_id=1&id=ZWU3Y2NjOWQtODBlZGEyMzMtZWMwMzIyNzUtNmY5YmVlZGU=" 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 16:27:14,374 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, 553798dd-f091-4d86-a22f-ec1d7b4927e0, ghrun-tvlw7frnpa.auto.internal:6538): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-01 16:27:14,375 - 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 16:27:14,376 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/q6a6/001a25/ydb/apps/ydb/ydb
2025-11-01 16:27:14,376 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydb.out.0
2025-11-01 16:27:14,377 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydb.err.0
2025-11-01 16:27:14,377 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/q6a6/001a25/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:6538', '--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/q6a6/001a25/tmp/test_stdin_with_invalid_json_s0/invalid_data.txt' in 'None' (waiting)
2025-11-01 16:27:14,378 - DEBUG - ya.test - execute: Command pid: 2122897
2025-11-01 16:27:14,501 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) rc: 1
2025-11-01 16:27:14,501 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) elapsed time (sec): 0.12224030494689941
2025-11-01 16:27:14,501 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) idrss: 0
2025-11-01 16:27:14,502 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) inblock: 0
2025-11-01 16:27:14,502 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) isrss: 0
2025-11-01 16:27:14,502 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) ixrss: 0
2025-11-01 16:27:14,502 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) majflt: 0
2025-11-01 16:27:14,502 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) maxrss: 172820
2025-11-01 16:27:14,502 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) minflt: 3555
2025-11-01 16:27:14,502 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) msgrcv: 0
2025-11-01 16:27:14,503 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) msgsnd: 0
2025-11-01 16:27:14,503 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) nivcsw: 13
2025-11-01 16:27:14,503 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) nsignals: 0
2025-11-01 16:27:14,503 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) nswap: 0
2025-11-01 16:27:14,503 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) nvcsw: 154
2025-11-01 16:27:14,503 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) oublock: 8
2025-11-01 16:27:14,503 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) stime: 0.034145999999999996
2025-11-01 16:27:14,504 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) utime: 0.038414
2025-11-01 16:27:14,504 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) wtime: 0.123
2025-11-01 16:27:14,504 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) output:

2025-11-01 16:27:14,504 - DEBUG - ya.test - _save_outputs: Command (pid 2122897) errors:
Wrong type for json value "{"id":1}". Expected type: Array, received type: Map. 

2025-11-01 16:27:14,504 - 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 16:27:14,506 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 16:27:36,509 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:6538/1
2025-11-01 16:27:36,510 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28785
2025-11-01 16:27:36,510 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29456
2025-11-01 16:27:36,511 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1721
2025-11-01 16:27:36,511 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6538
2025-11-01 16:27:36,511 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30229
