After finished raptor testing, the raptor.log will leave one blank line on the end of file. If using manually posting script to post to Influx DB, it will show below error: ====================================== undefined:0 SyntaxError: Unexpected end of input at parse (native) at Array.map (native) at /gaia/import.js:10:6 at fs.js:334:14 at FSReqWrap.oncomplete (fs.js:95:15) ====================================== If removing this blank line, it can execute normally. Maybe the script has bug to deal with blank line.
Manually posting script: https://gist.github.com/eliperelman/c07a5fe077094e7c4c87
As this "script" isn't pure JSON, it doesn't make sense to a pure JSON.parse on it. It will be up to whomever is writing scripts to ensure the data is unserialized correctly.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.