{ "id": "104774", "key": "TIMOB-11721", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-08-24T19:39:48.000+0000", "created": "2012-11-09T19:57:07.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T20:26:09.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": "12643", "name": "Anvil", "description": "Anvil" } ], "description": "Repro steps:\r\n\r\n\r\n1. Edit the Config.js of anvil - /path to titanium_mobile git repo/anvil/driver/Config.js - to contain:\r\n\r\n// Point to a valid mobileSDK path that you want to run anvil tests against\r\nthis.tiSdkDirs = path.resolve(path.sep, \"Users\", \"mgadiya\", \"Library\",\r\n\"Application Support\", \"Titanium\", \"mobilesdk\", \"osx\",\"2.1.3.GA\");;\r\n\r\n// This is the custom configSet that we want to run anvil against\r\nthis.customHarnessConfigDirs = ['./anvil/configSet'];\r\n\r\n2. Download the module, unzip and add it to the modules directory which corresponds to the SDK directory you specify in Config.js in step 1\r\n\r\n3. Download the attached Anvil folder with configSet of large testsuite.\r\n\r\n4. Unzip it and run the following command from that directory.\r\n\r\nnode /path to titanium_mobile git repo/anvil/driver/driver.js --mode=local --platform=android --command=\"start --config-set=aws --suite=s3\"\r\n \r\n\r\nActual result:\r\n\r\nexception occured when trying to convert JSON message <{\"type\":\"tests\",\"tests\":[{\"name\":\"testSimple\",\"timeout\":80000},{\"name\":\"testHeadObject_as_async\",\"timeout\":80000},{\"name\":\"testHeadObjectWithEmptybucketName_as_async\",\"timeout\":80000},{\"name\":\"testHeadObjectWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testHeadObjectWithEmptyobjectName_as_async\",\"timeout\":80000},{\"name\":\"testHeadObjectWithInvalidobjectName_as_async\",\"timeout\":80000},{\"name\":\"testHeadBucketWithEmptybucketName_as_async\",\"timeout\":80000},{\"name\":\"testHeadBucketWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutObjectCopy_as_async\",\"timeout\":80000},{\"name\":\"testPutObjectCopyWithInvalidBucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutObjectCopyWithEmptyBucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutObjectCopyWithEmptyObjectName_as_async\",\"timeout\":80000},{\"name\":\"testPutObjectCopyWithEmptyCopySource_as_async\",\"timeout\":80000},{\"name\":\"testPutObjectCopyWithInvalidCopySource_as_async\",\"timeout\":80000},{\"name\":\"testGetObjectTorrent_as_async\",\"timeout\":80000},{\"name\":\"testGetObjectTorrentWithEmptyBucketName_as_async\",\"timeout\":80000},{\"name\":\"testGetObjectTorrentWithInvalidBucketName_as_async\",\"timeout\":80000},{\"name\":\"testGetObjectTorrentWithEmptyObjectName_as_async\",\"timeout\":80000},{\"name\":\"testGetObjectTorrentWithInvalidObjectName_as_async\",\"timeout\":80000},{\"name\":\"testInitiateMultipartUpload_as_async\",\"timeout\":80000},{\"name\":\"testUploadPart_as_async\",\"timeout\":80000},{\"name\":\"testUploadPartCopy_as_async\",\"timeout\":80000},{\"name\":\"testCompleteMultipartUpload_as_async\",\"timeout\":80000},{\"name\":\"testPutObject_as_async\",\"timeout\":80000},{\"name\":\"testListMultipartUploads_as_async\",\"timeout\":80000},{\"name\":\"testDeleteMultipleObjects_as_async\",\"timeout\":80000},{\"name\":\"testGetBucketPolicy_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucket_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketAcl_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucketACL_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketACLWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketACLWithEmptyXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketACLWithInvalidXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLifeCycle_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucketLifeCycle_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLifeCycleWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLifeCycleWithEmptyXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLifeCycleWithInvalidXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketPolicy_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucketPolicy_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketPolicyWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketPolicyWithEmptyXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketPolicyWithInvalidXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLogging_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucketLogging_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLoggingWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLoggingWithEmptyXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketLoggingWithInvalidXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketNotification_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucketNotification_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketNotificationWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketNotificationWithEmptyXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketNotificationWithInvalidXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucketRequestPayment_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketRequestPaymentWithInvalidbucketName_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketRequestPaymentWithEmptyXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketRequestPaymentWithInvalidXMLTemplate_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketVersioning_as_async\",\"timeout\":80000},{\"name\":\"testPutEmptyBucketVersioning_as_async\",\"timeout\":80000},{\"name\":\"testPutBucketVers> from Driver\r\n\r\n\r\nExpected Result:\r\nAnvil runs the harness and tests on android device.", "attachment": [ { "id": "33381", "filename": "anvil.zip", "author": { "name": "mgadiya", "key": "mgadiya", "displayName": "Mukesh Gadiya", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-09T19:57:07.000+0000", "size": 92351, "mimeType": "application/zip" }, { "id": "33380", "filename": "ti.aws-commonjs-1.1.2.zip", "author": { "name": "mgadiya", "key": "mgadiya", "displayName": "Mukesh Gadiya", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-09T19:57:07.000+0000", "size": 9079638, "mimeType": "application/zip" } ], "flagged": false, "summary": "Anvil driver errors on android in local mode when fed with large number of tests", "creator": { "name": "mgadiya", "key": "mgadiya", "displayName": "Mukesh Gadiya", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mgadiya", "key": "mgadiya", "displayName": "Mukesh Gadiya", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "2.1.3.GA\r\nRunning anvil/driver/driver.js from master branch on titanium_mobile ", "comment": { "comments": [ { "id": "394164", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Anvil is dead.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-24T19:39:48.000+0000", "updated": "2016-08-24T19:39:48.000+0000" }, { "id": "413902", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Anvil is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T20:26:09.000+0000", "updated": "2017-03-20T20:26:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }