Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11723] Anvil throws an error on successive runs

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2016-08-24T19:39:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAnvil
Labelsn/a
ReporterMukesh Gadiya
AssigneeEric Merriman
Created2012-11-09T20:11:33.000+0000
Updated2017-03-20T20:26:16.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=sns" 5. Wait for the run to complete 6. Once Anvil displays the test results, re-run the test by executing: node /path to titanium_mobile git repo/anvil/driver/driver.js --mode=local --platform=android --command="start --config-set=aws --suite=sns" and you will receive the follwing error: /Users/mgadiya/Desktop/titanium_mobile/master/anvil/driver/localMode.js:54 wrench.rmdirSyncRecursive(path.join(driverGlobal.logsDir, "json_results"), ^ ReferenceError: wrench is not defined at module.exports.start (/Users/mgadiya/Desktop/titanium_mobile/master/anvil/driver/localMode.js:54:5) at Object. (/Users/mgadiya/Desktop/titanium_mobile/master/anvil/driver/driver.js:294:6) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10) at process.startup.processNextTick.process._tickCallback (node.js:244:9)

Attachments

FileDateSize
anvil.zip2012-11-09T20:11:33.000+000092351
ti.aws-commonjs-1.1.2.zip2012-11-09T20:11:33.000+00009079638

Comments

  1. Bill Dawson 2013-03-18

    Duplicate of TIMOB-11568.
  2. Chris Barber 2016-08-24

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

    Closing ticket as Anvil is no longer supported.

JSON Source