Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11721] Anvil driver errors on android in local mode when fed with large number of tests

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2016-08-24T19:39:48.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAnvil
Labelsn/a
ReporterMukesh Gadiya
AssigneeEric Merriman
Created2012-11-09T19:57:07.000+0000
Updated2017-03-20T20:26:09.000+0000

Description

Repro steps: 1. Edit the Config.js of anvil - /path to titanium_mobile git repo/anvil/driver/Config.js - to contain: // Point to a valid mobileSDK path that you want to run anvil tests against this.tiSdkDirs = path.resolve(path.sep, "Users", "mgadiya", "Library", "Application Support", "Titanium", "mobilesdk", "osx","2.1.3.GA");; // This is the custom configSet that we want to run anvil against this.customHarnessConfigDirs = ['./anvil/configSet']; 2. 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 3. Download the attached Anvil folder with configSet of large testsuite. 4. Unzip it and run the following command from that directory. node /path to titanium_mobile git repo/anvil/driver/driver.js --mode=local --platform=android --command="start --config-set=aws --suite=s3" Actual result: exception 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 Expected Result: Anvil runs the harness and tests on android device.

Attachments

FileDateSize
anvil.zip2012-11-09T19:57:07.000+000092351
ti.aws-commonjs-1.1.2.zip2012-11-09T19:57:07.000+00009079638

Comments

  1. Chris Barber 2016-08-24

    Anvil is dead.
  2. Lee Morris 2017-03-20

    Closing ticket as Anvil is no longer supported.

JSON Source