{ "id": "143759", "key": "TIMOB-18478", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-27T03:36:02.000+0000", "created": "2015-01-30T06:32:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "51857", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "160549", "key": "TIMOB-23443", "fields": { "summary": "Android CLI: Log messages sometimes get truncated arbitrarily", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2017-03-21T18:42:22.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "This bug causes some parts of the lines to vanish after the stream is split due to the buffer.\r\n\r\nExample would be in this scenario:\r\nData callback 1:\r\n{code}\r\nI/TiAPI ( 2856): !TEST_RESULTS_START!\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"date\": \"2015-01-23T08:04:59.765Z\",\r\nI/TiAPI ( 2856): \"results\": [\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 1040,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testAPI\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 9660,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testLength\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 98065,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testAppend\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 58124,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testInsert\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 9049,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testInsertBlogExample\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 64461,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testCopy\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"failed\",\r\nI/TiAPI ( 2856): \"duration\": 3481,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testClone\",\r\nI/TiAPI ( 2856): \"error\": {\r\nI/TiAPI ( 2856): \"name\": \"AssertionError\",\r\nI/TiAPI ( 2856): \"actual\": {\r\nI/TiAPI ( 2856): \"length\": 20,\r\nI/TiAPI ( 2856): \"bubbleParent\": true,\r\nI/TiAPI ( 2856): \"apiName\": \"Ti.Buffer\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): \"expected\": {\r\nI/TiAPI ( 2856): \"length\": 20,\r\nI/TiAPI ( 2856): \"bubbleParent\": true,\r\nI/TiAPI ( 2856): \"byteOrder\": 1,\r\nI/TiAPI ( 2856): \"apiName\": \"Ti.Buffer\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): \"operator\": \"to equal\",\r\nI/TiAPI ( 2856): \"message\": \"expected { _hasJavaListener: undefined,\\n length: 20,\\n bubbleParent: true,\\n byteOrder: undefined,\\n type: undefined,\\n value: undefined,\\n apiName: 'Ti.Buffer' } to equal { _hasJavaListener: undefined,\\n length: 20,\\n bubbleParent: true,\\n byteOrder: 1,\\n type: undefined,\\n value: undefined,\\n apiName: 'Ti.Buffer' }\",\r\nI/TiAPI ( 2856): \"generatedMessage\": true,\r\nI/TiAPI ( 2856): \"showDiff\": true\r\nI/TiAPI ( 2856): }\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 92516,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testFill\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 1110,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testClear\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 528,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testRelease\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 18048,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testToStringAndBlob\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): {\r\nI/TiAPI ( 2856): \"state\": \"passed\",\r\nI/TiAPI ( 2856): \"duration\": 1223,\r\nI/TiAPI ( 2856): \"suite\": \"buffer\",\r\nI/TiAPI ( 2856): \"title\": \"testAutoEncode\"\r\nI/TiAPI ( 2856): }\r\nI/TiAPI ( 2856): ],\r\nI/TiAPI ( 2856): \"platform\": {\r\nI/TiAPI ( 2856): \"ostype\": \"32bit\",\r\nI/TiAPI ( 2856): \"name\": \"android\",\r\nI/TiAPI ( 2856): \"osname\": \"android\",\r\nI/TiAPI ( 2856): \"version\": \"4.4.4\",\r\nI/TiAPI ( 2856): \"ad\r\n{code}\r\nData callback 2\r\n{code}\r\ndress\": \"10.0.3.15\",\r\nI/TiAPI ( 2856): \"macaddress\": \"08:00:27:e5:f1:d0\",\r\nI/TiAPI ( 2856): \"architecture\": \"Unknown\",\r\nI/TiAPI ( 2856): \"availableMemory\": 415984,\r\nI/TiAPI ( 2856): \"manufacturer\": \"Genymotion\",\r\nI/TiAPI ( 2856): \"model\": \"Google Nexus 5 - 4.4.4 - API 19 - 1080x1920\"\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): \"displayCaps\": {\r\nI/TiAPI ( 2856): \"density\": \"xxhigh\",\r\nI/TiAPI ( 2856): \"dpi\": 480,\r\nI/TiAPI ( 2856): \"platformHeight\": 1776,\r\nI/TiAPI ( 2856): \"platformWidth\": 1080,\r\nI/TiAPI ( 2856): \"xdpi\": 480,\r\nI/TiAPI ( 2856): \"ydpi\": 480\r\nI/TiAPI ( 2856): },\r\nI/TiAPI ( 2856): \"build\": {\r\nI/TiAPI ( 2856): \"date\": \"2015/01/12 15:33\",\r\nI/TiAPI ( 2856): \"git\": \"0014f83\",\r\nI/TiAPI ( 2856): \"version\": \"3.5.0\"\r\nI/TiAPI ( 2856): }\r\nI/TiAPI ( 2856): }\r\nI/TiAPI ( 2856): !TEST_RESULTS_STOP!\r\n{code}\r\nThe last part of the address, dress\": \"10.0.3.15\", would cause the original code to return, hence that part is not sent out to the logger at all. This causes the json to be incomplete and causing errors.", "attachment": [], "flagged": false, "summary": "Android: android lib - Log cat bug causing some logs to disappear", "creator": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "subtasks": [], "reporter": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "environment": null, "closedSprints": [ { "id": 345, "state": "closed", "name": "2015 Sprint 04 SDK", "startDate": "2015-02-14T01:00:53.297Z", "endDate": "2015-03-01T01:00:00.000Z", "completeDate": "2015-02-28T15:39:43.652Z", "originBoardId": 114 }, { "id": 330, "state": "closed", "name": "2015 Sprint 03 SDK", "startDate": "2015-01-31T01:00:05.245Z", "endDate": "2015-02-14T01:00:00.000Z", "completeDate": "2015-02-16T21:01:51.914Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "341367", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Currently in progress. Not completed yet. PR to monitor progress: https://github.com/appcelerator/androidlib/pull/4", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-01-30T06:33:17.000+0000", "updated": "2015-01-30T06:33:17.000+0000" }, { "id": "344527", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Merged", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-02-27T03:36:02.000+0000", "updated": "2015-02-27T03:36:02.000+0000" }, { "id": "414307", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:42:22.000+0000", "updated": "2017-03-21T18:42:22.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }