Closed
Bug 1142344
Opened 10 years ago
Closed 10 years ago
Intermittent test_profile_management.py TestLog.test_in_app_restart_the_browser | AssertionError: JavascriptException not raised
Categories
(Testing :: Marionette Client and Harness, defect)
Tracking
(firefox37 unaffected, firefox38 fixed, firefox39 fixed, firefox-esr31 unaffected)
RESOLVED
FIXED
mozilla39
| Tracking | Status | |
|---|---|---|
| firefox37 | --- | unaffected |
| firefox38 | --- | fixed |
| firefox39 | --- | fixed |
| firefox-esr31 | --- | unaffected |
People
(Reporter: KWierso, Assigned: chmanchester)
References
Details
(Keywords: intermittent-failure, pi-marionette-intermittent)
Attachments
(1 file, 1 obsolete file)
14:45:52 INFO - TEST-START | test_profile_management.py TestLog.test_can_restart_the_browser
14:45:52 INFO - ERROR:root:[Errno 10054] An existing connection was forcibly closed by the remote host
14:46:16 INFO - TEST-PASS | test_profile_management.py TestLog.test_can_restart_the_browser | took 24419ms
14:46:16 INFO - TEST-START | test_profile_management.py TestLog.test_change_preset
14:46:35 INFO - TEST-PASS | test_profile_management.py TestLog.test_change_preset | took 18590ms
14:46:35 INFO - TEST-START | test_profile_management.py TestLog.test_clean_profile
14:46:53 INFO - TEST-PASS | test_profile_management.py TestLog.test_clean_profile | took 18320ms
14:46:53 INFO - TEST-START | test_profile_management.py TestLog.test_in_app_restart_the_browser
14:47:09 ERROR - TEST-UNEXPECTED-FAIL | test_profile_management.py TestLog.test_in_app_restart_the_browser | AssertionError: JavascriptException not raised
14:47:09 INFO - Traceback (most recent call last):
14:47:09 INFO - File "C:\slave\test\build\venv\lib\site-packages\marionette\marionette_test.py", line 296, in run
14:47:09 INFO - testMethod()
14:47:09 INFO - File "C:\slave\test\build\tests\marionette\tests\testing\marionette\client\marionette\tests\unit\test_profile_management.py", line 63, in test_in_app_restart_the_browser
14:47:09 INFO - "return SpecialPowers.getBoolPref('marionette.test.restart');")
14:47:09 INFO - TEST-INFO took 15447ms
14:47:09 INFO - TEST-START | test_profile_management.py TestLog.test_preferences_are_set
14:47:09 INFO - TEST-PASS | test_profile_management.py TestLog.test_preferences_are_set | took 48ms
14:47:09 INFO - TEST-START | test_set_window_size.py TestSetWindowSize.test_that_we_can_get_and_set_window_size
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Assignee | ||
Comment 2•10 years ago
|
||
I gave this some retriggers. It's still sort of a bad test, maybe I should just kill that assertion.
Flags: needinfo?(cmanchester)
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Assignee | ||
Comment 5•10 years ago
|
||
2 out of five is quite bad, I think that assertion is just tickling a race, I'll get rid of it.
Flags: needinfo?(cmanchester)
| Assignee | ||
Comment 6•10 years ago
|
||
/r/5227 - Bug 1142344 - Remove a racy assertion added in marionette test for frequently failing on a pgo build.; r=jgriffin
Pull down this commit:
hg pull review -r 3e3f08e01cbd838771edacd24f20ac6471092c95
Attachment #8576357 -
Flags: review?(jgriffin)
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•10 years ago
|
Keywords: ateam-marionette-intermittent
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 10•10 years ago
|
||
Comment on attachment 8576357 [details]
MozReview Request: bz://1142344/chmanchester
https://reviewboard.mozilla.org/r/5225/#review4259
Do we undersrtand why this is racy? I'm guessing restart() can sometimes do the wrong thing, but it's not clear.
Attachment #8576357 -
Flags: review?(jgriffin) → review+
| Assignee | ||
Comment 11•10 years ago
|
||
https://reviewboard.mozilla.org/r/5225/#review4261
Only a theory, but restart kills the browser in a way that means user prefs aren't persisted before shutdown, which is what this test is trying to verify. From what I've seen it does this when the browser is in _some stage_ of persisting the prefs, so before bug 1141679 that meant the pref service knew about the pref but the value wasn't what was set right before shutdown, and after it meant that the pref service didn't know about the pref at all (most of the time).
The "blow away a user pref" behavior isn't really desired in the first place, so I don't think this assertion is adding much value.
| Assignee | ||
Comment 12•10 years ago
|
||
checkin-needed without try because this only deletes a flaky assertion in a test.
Keywords: checkin-needed
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 20•10 years ago
|
||
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 22•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•10 years ago
|
status-firefox37:
--- → unaffected
status-firefox38:
--- → unaffected
status-firefox-esr31:
--- → unaffected
Comment 24•10 years ago
|
||
We want to uplift the patch on bug 1141679, so uplifting this patch would also be necessary. Setting ni? for David, who is most likely going to do it.
Flags: needinfo?(dburns)
Comment 25•10 years ago
|
||
Flags: needinfo?(dburns)
Updated•10 years ago
|
| Assignee | ||
Comment 26•10 years ago
|
||
Attachment #8576357 -
Attachment is obsolete: true
Attachment #8619735 -
Flags: review+
| Assignee | ||
Comment 27•10 years ago
|
||
Updated•2 years ago
|
Product: Testing → Remote Protocol
Comment 28•2 years ago
|
||
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.
Description
•