Open
Description
Unhandled exception:
FormatException: Unexpected end of input (at character 1)
^
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1376:5)
#1 _ChunkedJsonParser.close (dart:convert-patch/convert_patch.dart:494:7)
#2 _parseJson (dart:convert-patch/convert_patch.dart:36:10)
#3 JsonDecoder.convert (dart:convert/json.dart:610:36)
#4 JsonCodec.decode (dart:convert/json.dart:216:41)
#5 jsonDecode (dart:convert/json.dart:155:10)
#6 loadResults (package:test_runner/bot_results.dart:171:17)
<asynchronous suspension>
#7 loadResultsMap (package:test_runner/bot_results.dart:190:22)
<asynchronous suspension>
#8 main (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/test_runner/bin/compare_results.dart:237:9)
<asynchronous suspension>
The trybots' test output expects a valid JSON object on each line of the output, and every output blob must be followed by a line delimiter (delimiters are not platform-specific). However, results for this test appear to still be crashing.
The following results.json
snippet does not cause failures:
{"name":"tests/reload/framework_timing_test","configuration":"ddc-win-chrome","suite":"tests/reload","test_name":"framework_timing_test","time_ms":3181,"expected":"Pass","result":"Pass","matches":true}
{"name":"tests/reload/hot_restart_constant_equality","configuration":"ddc-win-chrome","suite":"tests/reload","test_name":"hot_restart_constant_equality","time_ms":1089,"expected":"Pass","result":"Pass","matches":true}
But the following logs.json
fails:
{"name":"tests/reload/framework_timing_test","configuration":"ddc-win-chrome","result":"Pass","log":"console.info: DDC is about to load 4/4 scripts with pool size = 1000\nconsole.info: DDC: Subapp Module [main.dart:main.dart:00000000-0000-0000-0000-000000000000] is starting\nRe-loading main.dart\nconsole.info: DDC: Subapp Module [main.dart:main.dart:00000000-0000-0000-0000-000000000000] is starting\nRe-loading main.dart\nconsole.info: DDC: Subapp Module [main.dart:main.dart:00000000-0000-0000-0000-000000000000] is starting\n"}
{"name":"tests/reload/hot_restart_constant_equality","configuration":"ddc-win-chrome","result":"Pass","log":"console.info: DDC is about to load 6/6 scripts with pool size = 1000\nconsole.info: DDC: Subapp Module [main.dart:main.dart:00000000-0000-0000-0000-000000000000] is starting\nRe-loading main.dart\nRe-loading library_b.dart\nconsole.info: DDC: Subapp Module [main.dart:main.dart:00000000-0000-0000-0000-000000000000] is starting\n"}