Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23443] Android CLI: Log messages sometimes get truncated arbitrarily

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionDone
Resolution Date2016-08-04T02:48:54.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.4.0
ComponentsAndroid, CLI
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2016-05-26T17:56:29.000+0000
Updated2016-08-04T02:48:54.000+0000

Description

In attempting to set up an automated test suite for Android, I'm running into an issue whereby I cannot reliably spit the test results as JSON due to a number of issues. If I try to gather them all together and spit out on huge JSOn object, I run into TIMOB-23438 where it gets truncated around 4036 characters. If I try to spit out JSON results after every test, I get intermittent truncated output, thereby breaking the JSON parsing. When I do a manual adb logcat it always shows the full JSON output in the logs, however, the titanium CLI is truncating it for some reason.

Comments

  1. Chee Kiat Ng 2016-05-27

    [~cwilliams] can you suggest a way to test this? it'll be good for QE as well.
  2. Ashraf Abu 2016-05-31

    [~cwilliams] as suggested by Kiat, are there test steps that you can provide so I can assist in testing it out?
  3. Lokesh Choudhary 2016-07-20

    [~cwilliams], Can you provide with a test case with which you encounter this issue.

JSON Source