2025-11-01 16:19:19,573 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:19:19,573 - INFO - ya.test - pytest_runtest_setup: test_framing_newline_delimited_json[scripting]
2025-11-01 16:19:19,573 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:19:19,573 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:19:19,574 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateTable, 367c1583-6f6f-4f27-a505-89e39b447761, ghrun-tvlw7frnpa.auto.internal:18020): creating call state
2025-11-01 16:19:19,575 - DEBUG - ydb.connection - _log_request: RpcState(CreateTable, 367c1583-6f6f-4f27-a505-89e39b447761, ghrun-tvlw7frnpa.auto.internal:18020): request = { session_id: "ydb://session/3?node_id=1&id=YzU0NWZiOGEtZjFkNTUzMzEtZmEyMjlmYmItOThkODYwZTU=" path: "/Root/test_framing_newline_delimited1" 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:19:19,591 - DEBUG - ydb.connection - _log_response: RpcState(CreateTable, 367c1583-6f6f-4f27-a505-89e39b447761, ghrun-tvlw7frnpa.auto.internal:18020): response = { operation { ready: true status: SUCCESS } }
2025-11-01 16:19:19,592 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteDataQuery, 24be5c9c-5fe8-46a1-9fcd-13e6fecbbb7f, ghrun-tvlw7frnpa.auto.internal:18020): creating call state
2025-11-01 16:19:19,593 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteDataQuery, 24be5c9c-5fe8-46a1-9fcd-13e6fecbbb7f, ghrun-tvlw7frnpa.auto.internal:18020): request = { session_id: "ydb://session/3?node_id=1&id=YzU0NWZiOGEtZjFkNTUzMzEtZmEyMjlmYmItOThkODYwZTU=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n        PRAGMA TablePathPrefix(\"/Root\");\n        UPSERT INTO test_framing_newline_delimited1 (`key`, `id`, `value`) VALUES (1, 1111, \"one\");\n        UPSERT INTO test_framing_newline_delimited1 (`key`, `id`, `value`) VALUES (2, 2222, \"two\");\n        UPSERT INTO test_framing_newline_delimited1 (`key`, `id`, `value`) VALUES (3, 3333, \"three\");\n        UPSERT INTO test_framing_newline_delimited1 (`key`, `id`, `value`) VALUES (5, 5555, \"five\");\n        UPSERT INTO test_framing_newline_delimited1 (`key`, `id`, `value`) VALUES (7, 7777, \"seven\");\n        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:19:19,617 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteDataQuery, 24be5c9c-5fe8-46a1-9fcd-13e6fecbbb7f, ghrun-tvlw7frnpa.auto.internal:18020): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
2025-11-01 16:19:19,618 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_ydb_scripting.py::TestExecuteScriptWithParamsFromStdin, test_name: test_framing_newline_delimited_json[scripting])
2025-11-01 16:19:19,619 - DEBUG - ya.test - get_binary: Binary was found by /home/runner/.ya/build/build_root/q6a6/001881/ydb/apps/ydb/ydb
2025-11-01 16:19:19,620 - DEBUG - ya.test - _get_command_output_file: Command out will be placed to ydb.out.0
2025-11-01 16:19:19,620 - DEBUG - ya.test - _get_command_output_file: Command err will be placed to ydb.err.0
2025-11-01 16:19:19,621 - DEBUG - ya.test - execute: Executing '['/home/runner/.ya/build/build_root/q6a6/001881/ydb/apps/ydb/ydb', '--endpoint', 'grpc://localhost:18020', '--database', '/Root', 'scripting', 'yql', '-s', 'DECLARE $s AS Utf8; DECLARE $num AS Uint64; SELECT $s AS s, $num AS num; ', '--stdin-format', 'newline-delimited']' with input '/home/runner/.ya/build/build_root/q6a6/001881/tmp/test_framing_newline_delimited1/stdin.txt' in 'None' (waiting)
2025-11-01 16:19:19,621 - DEBUG - ya.test - execute: Command pid: 1444851
2025-11-01 16:19:19,770 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) rc: 0
2025-11-01 16:19:19,770 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) elapsed time (sec): 0.14802193641662598
2025-11-01 16:19:19,770 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) idrss: 0
2025-11-01 16:19:19,770 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) inblock: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) isrss: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) ixrss: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) majflt: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) maxrss: 162840
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) minflt: 3572
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) msgrcv: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) msgsnd: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) nivcsw: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) nsignals: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) nswap: 0
2025-11-01 16:19:19,771 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) nvcsw: 198
2025-11-01 16:19:19,772 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) oublock: 8
2025-11-01 16:19:19,772 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) stime: 0.024345
2025-11-01 16:19:19,772 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) utime: 0.037593
2025-11-01 16:19:19,772 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) wtime: 0.149
2025-11-01 16:19:19,772 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) output:
┌─────────────┬─────┐
│ s           │ num │
├─────────────┼─────┤
│ "Some text" │ 1   │
└─────────────┴─────┘
┌─────────────────────┬─────┐
│ s                   │ num │
├─────────────────────┼─────┤
│ "Строка 1\nСтрока2" │ 2   │
└─────────────────────┴─────┘
┌───────────┬─────┐
│ s         │ num │
├───────────┼─────┤
│ "Abacaba" │ 3   │
└───────────┴─────┘

2025-11-01 16:19:19,772 - DEBUG - ya.test - _save_outputs: Command (pid 1444851) errors:

2025-11-01 16:19:19,772 - DEBUG - __tests__.test_ydb_scripting - execute_ydb_cli_command: std_out:
┌─────────────┬─────┐
│ s           │ num │
├─────────────┼─────┤
│ "Some text" │ 1   │
└─────────────┴─────┘
┌─────────────────────┬─────┐
│ s                   │ num │
├─────────────────────┼─────┤
│ "Строка 1\nСтрока2" │ 2   │
└─────────────────────┴─────┘
┌───────────┬─────┐
│ s         │ num │
├───────────┼─────┤
│ "Abacaba" │ 3   │
└───────────┴─────┘

2025-11-01 16:19:19,774 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 16:19:42,344 - DEBUG - ya.test - _verify_test: Verifying [test_ydb_scripting.TestExecuteScriptWithParamsFromStdin.test_framing_newline_delimited_json[scripting] in ydb/tests/functional/ydb_cli] canonical results
2025-11-01 16:19:42,345 - DEBUG - ya.test - verify: Test test_ydb_scripting.TestExecuteScriptWithParamsFromStdin.test_framing_newline_delimited_json[scripting] status: good
