Closed Bug 830637 Opened 13 years ago Closed 13 years ago

Intermittent test_timeouts.py TestTimeouts.test_pagetimeout_pass | MarionetteException: Error loading page

Categories

(Testing :: Marionette Client and Harness, defect)

defect
Not set
normal

Tracking

(b2g18 fixed)

RESOLVED FIXED
mozilla21
Tracking Status
b2g18 --- fixed

People

(Reporter: philor, Assigned: annyang121)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=18788083&tree=Firefox Rev4 MacOSX Lion 10.7 mozilla-central debug test marionette on 2013-01-14 11:53:45 PST for push b72d2af170aa slave: talos-r4-lion-033 11:57:40 INFO - ERROR: test_pagetimeout_pass (test_timeouts.TestTimeouts) 11:57:40 INFO - ---------------------------------------------------------------------- 11:57:40 ERROR - Traceback (most recent call last): 11:57:40 INFO - File "/Users/cltbld/talos-slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_timeouts.py", line 23, in test_pagetimeout_pass 11:57:40 INFO - self.marionette.navigate(test_html) 11:57:40 INFO - File "/Users/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette.py", line 389, in navigate 11:57:40 INFO - response = self._send_message('goUrl', 'ok', value=url) 11:57:40 INFO - File "/Users/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette.py", line 225, in _send_message 11:57:40 INFO - self._handle_error(response) 11:57:40 INFO - File "/Users/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette.py", line 256, in _handle_error 11:57:40 INFO - raise MarionetteException(message=message, status=status, stacktrace=stacktrace) 11:57:40 INFO - TEST-UNEXPECTED-FAIL | test_timeouts.py TestTimeouts.test_pagetimeout_pass | MarionetteException: Error loading page 11:57:40 INFO - ---------------------------------------------------------------------- 11:57:40 INFO - Ran 8 tests in 19.874s 11:57:40 ERROR - FAILED (errors=1)
Yiming, I'm guessing that this problem occurs because the 300ms timeout allowed in test_pagetimeout_pass isn't always enough for the page to be loaded. Can you make a patch that increases this timeout to several seconds?
Attached patch fixPageTimeoutSplinter Review
Attachment #705145 - Flags: review?(mdas)
Comment on attachment 705145 [details] [diff] [review] fixPageTimeout Review of attachment 705145 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, I'll go ahead and land this.
Attachment #705145 - Flags: review?(mdas) → review+
Assignee: nobody → yiyang
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → mozilla21
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: