Closed Bug 1062237 Opened 10 years ago Closed 7 years ago

Failed running mochitest on device, runtestsb2g.py raises exceptions

Categories

(Testing :: Mochitest, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ting, Unassigned)

Details

I followed the steps at https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Mochitests to run mochitest on Flame: 1. $ source objdir-gecko/_virtualenv/bin/activate 2. $ adb forward tcp:2828 tcp:2828 3. $ cd objdir-gecko/_tests/testing/mochitest; python runtestsb2g.py --b2gpath /home/ting/w/fx/os/flame --xre-path /home/ting/w/fx/os/b2g-desktop-35.0a1 --console-level INFO --httpd-path ./ --test-path content/base/test/test_bug894874.html But I got: runtestsb2g.py | Running tests: start. Traceback (most recent call last): File "runtestsb2g.py", line 148, in run_tests self.app_ctx = self.runner.app_ctx AttributeError: 'NoneType' object has no attribute 'app_ctx' 0 ERROR Automation Error: Received unexpected exception while running application Automation Error: Exception caught while running tests Traceback (most recent call last): File "runtestsb2g.py", line 368, in run_remote_mochitests retVal = mochitest.run_tests(options) File "runtestsb2g.py", line 214, in run_tests self.runner.check_for_crashes() AttributeError: 'NoneType' object has no attribute 'check_for_crashes' 1 ERROR Got suite_end message before suite_start. The same steps worked with b2g v2.0, didn't check v2.1.
Component: General → Mochitest
Mass resolving of B2G mochitest bugs.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.