Closed Bug 1104988 Opened 11 years ago Closed 10 years ago

Test Failure : Running day_view_test.js throws errors.

Categories

(Testing Graveyard :: JSMarionette, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Silne30, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 Steps to reproduce: Environment: Virtual Machine (Ubuntu 14.04 LTS, Unity Desktop, using Vagrant) Node Version: v.0.10.25 NPM Version: 1.3.10 Python Version: 2.7.6 1.) Cloned gaia from master 2.) npm install --save-dev marionette-client marionette-js-runner 3.) TEST_FILES=./apps/calendar/test/marionette/day_view_test.js make test-integration Actual results: You can see the full log at https://gist.github.com/silne30/73c28d79f21a7e68a65f Enclosed below is the final entry of the logs. day view 1) "before all" hook 2) "after all" hook 0 passing (148ms) 2 failing 1) day view "before all" hook: Error: done() invoked with non-Error: [object Object] at /home/vagrant/Desktop/gaia/node_modules/mocha/lib/runnable.js:198:38 at /home/vagrant/Desktop/gaia/node_modules/marionette-js-runner/lib/runtime/hostmanager.js:56:9 at Object.<anonymous> (/home/vagrant/Desktop/gaia/node_modules/marionette-js-runner/lib/runtime/host.js:20:21) at Object.<anonymous> (/home/vagrant/Desktop/gaia/node_modules/marionette-js-runner/lib/runtime/requests.js:25:18) at process.EventEmitter.emit (events.js:98:17) at handleMessage (child_process.js:318:10) at Pipe.channel.onread (child_process.js:345:11) 2) day view "after all" hook: TypeError: Cannot call method 'stop' of undefined at Context.<anonymous> (/home/vagrant/Desktop/gaia/node_modules/marionette-js-runner/lib/runtime/hostmanager.js:112:12) at Hook.Runnable.run (/home/vagrant/Desktop/gaia/node_modules/mocha/lib/runnable.js:196:15) at next (/home/vagrant/Desktop/gaia/node_modules/mocha/lib/runner.js:258:10) at Object._onImmediate (/home/vagrant/Desktop/gaia/node_modules/mocha/lib/runner.js:275:5) at processImmediate [as _immediateCallback] (timers.js:330:15) Expected results: The expected results were two passing tests.
OS: All → Linux
Hardware: All → x86_64
This is an issue with using VirtualBox in conjunction with Vagrant. Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1105018
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.