Closed
Bug 783484
Opened 12 years ago
Closed 11 years ago
Test failure 'Shutdown expected but none detected before end of test ' in /restartTests/testAddons_uninstallExtension/test4.js
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect, P2)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(firefox20 wontfix, firefox21 wontfix, firefox22 wontfix, firefox23 wontfix, firefox27 wontfix, firefox28 fixed, firefox29 fixed, firefox30 fixed, firefox31 fixed, firefox-esr17 wontfix, firefox-esr24 fixed)
People
(Reporter: whimboo, Assigned: andrei)
References
()
Details
(Whiteboard: [mozmill-test-failure])
Attachments
(7 files, 2 obsolete files)
653 bytes,
text/plain
|
Details | |
5.50 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
2.51 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
2.26 KB,
patch
|
andrei
:
review+
andrei
:
checkin+
|
Details | Diff | Splinter Review |
4.03 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
4.26 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
4.17 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
The test has been started to fail recently. Can someone please check if this is a regression?
Failure message: "Shutdown expected but none detected before end of test"
Reporter | ||
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Yes - seen this yesterday evening happening. I'll take it. Thanks for submitting the bug
Updated•12 years ago
|
Assignee: nobody → vlad.mozbugs
Status: NEW → ASSIGNED
Comment 2•12 years ago
|
||
Looks like I had no luck running into this on my testing box.
http://mozmill-crowd.blargon7.com/#/functional/reports?branch=All&platform=All&from=2012-08-17&to=2012-08-17
I was trying more with the fr locale which is likely more to fail, but still no luck.
Judging by the error it seems like we never get the shutdown command, which in our case would be clicking on the restart link in add-ons manager
Comment 3•12 years ago
|
||
So this happens no more. If we check the URL section in the bug, it has aprox one month of clean results. Therefore WFM until further notice
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Updated•12 years ago
|
I saw this failure today with the 17rc build on Mac OSX 10.8.2:
http://mozmill-ci.blargon7.com/#/functional/report/674977957b923f4905160d1b9a3a43ef
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Reporter | ||
Comment 5•12 years ago
|
||
Putting back into the pool for watching those results.
Assignee: vlad.mozbugs → nobody
Status: REOPENED → ASSIGNED
QA Contact: mozmill-tests → hskupin
Reporter | ||
Comment 6•12 years ago
|
||
Given that it fails for Firefox 17 we have to take care about it because we will get a lot of esr17 releases. Lets work on this next week.
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure] s=121126 u=failure c=addons p=1
Updated•12 years ago
|
Assignee: nobody → alex.lakatos
Comment 7•12 years ago
|
||
Happened yesterday on ESR17 and Windows 7 SP1:
http://mozmill-ci.blargon7.com/#/functional/report/352218d7e3125c857fc1d371670887cb
Happened on FF 17 and Mac OS X 10.8.2 (x86_64):
http://mozmill-ci.blargon7.com/#/functional/report/352218d7e3125c857fc1d3716716fa4b
status-firefox-esr17:
--- → affected
Comment 8•12 years ago
|
||
Reproduced on Mac OS X 10.8.2 (x86_64) and Aurora branch:
http://mozmill-ci.blargon7.com/#/functional/report/352218d7e3125c857fc1d371671e455d
Reporter | ||
Comment 9•12 years ago
|
||
Can someone try if it is reproducible?
Comment 10•12 years ago
|
||
FWIW, reproduced with the 17.0.1 candidate builds:
http://mozmill-ci.blargon7.com/#/functional/report/352218d7e3125c857fc1d3716716fa4b
Comment 11•12 years ago
|
||
Happened in 11/29 on MAC OS 10.8.2 with Firefox 17.0.1:
http://mozmill-ondemand.blargon7.com/#/functional/report/352218d7e3125c857fc1d37167308bf6
Happened in 12/1 on Mac OS X 10.7.5 (x86_64) with Aurora FR:
http://mozmill-ci.blargon7.com/#/functional/report/352218d7e3125c857fc1d371675ab136
status-firefox19:
--- → affected
Comment 12•12 years ago
|
||
Has happened again on Aurora, with Windows Vista:
http://mozmill-ci.blargon7.com/#/functional/report/9e41582ed5e806fa373351d9d339c5d2
I'll try today to reproduce it.
Reporter | ||
Updated•12 years ago
|
Priority: P2 → P3
Updated•12 years ago
|
OS: Mac OS X → All
Comment 13•12 years ago
|
||
Again on Windows 7, with Aurora - fr locale:
http://mozmill-ci.blargon7.com/#/functional/report/72e15dc943833b8fcba70aeb5115d7cc
Updated•12 years ago
|
Assignee: alex.lakatos.dev → andrei.eftimie
Updated•12 years ago
|
Priority: P3 → P2
Comment 14•12 years ago
|
||
Started reproducing on Nightly FR with Windows 7 SP1:
http://mozmill-ci.blargon7.com/#/functional/report/72e15dc943833b8fcba70aeb513567cd
status-firefox21:
--- → affected
Assignee | ||
Comment 15•12 years ago
|
||
Have not been able to reproduce it locally yet.
Happened again (Vista, 21.0a1, fr):
http://mozmill-ci.blargon7.com/#/functional/report/72e15dc943833b8fcba70aeb51cbc4ea
Assignee | ||
Comment 16•12 years ago
|
||
Same issue as bug 780957
Unable to click on an element if outside the visible viewport.
Reporter | ||
Comment 17•12 years ago
|
||
Thanks Andrei. So lets get bug 780957 fixed and rechecked this one afterward.
Depends on: 780957
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 18•12 years ago
|
||
Has not happened in almost 3 weeks (last recorded failure was in the 29th January)
We might mark it WFM, but:
since it is related to bug 780957 which has been fixed (fix only applied to 17, 18 and 19)
we should keep an eye out if it resurfaces (especially see if it is on a branch with the previously mentioned fix applied, or on a newer branch).
Depending on the case bug 780957 fix might also fix this (if it only shows up on unpatched branches) or it might require a slightly different approach.
Comment 19•12 years ago
|
||
Marking as fixed as the dependant bug was fixed. We can reopen if it turns out this did not in fact fix this issue.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Comment 20•12 years ago
|
||
Happened again today on Mac 10.8.2 with FF 17.0.4:
http://mozmill-ci.blargon7.com/#/functional/report/172b2945b09ec259eb6e92f6441f9459
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 21•12 years ago
|
||
Has happened again this weekend, with nightly fr locale, Windows Vista:
http://mozmill-ci.blargon7.com/#/functional/report/2a6536e9db9f5f44ed48c58510c222ff
Assignee | ||
Updated•12 years ago
|
status-firefox22:
--- → affected
Comment 22•12 years ago
|
||
Happened again on Nightly with Mac OS X 10.6.8 (x86_64): http://mozmill-ci.blargon7.com/#/functional/report/2a6536e9db9f5f44ed48c58510fd1f85
Comment 23•12 years ago
|
||
Happened again on Nightly IT with MAC OS 10.6.8: http://mozmill-ci.blargon7.com/#/functional/report/db924715258381629c26ddbad649e967
Assignee | ||
Comment 24•12 years ago
|
||
Also on Nightly, en-US, Win7:
http://mozmill-ci.blargon7.com/#/functional/report/db924715258381629c26ddbad698c9f7
Lots of failures in the last weeks, I will give this higher priority on my todo list to get it fixed.
*Still not sure if we fail to click on the restart link (simplest explanation, have not been able to make it fail this way manually). Or something else entirely which hangs the restart.
Reporter | ||
Comment 25•12 years ago
|
||
This is failing a lot these days. Andrei, please try to get it reproduced so we can fix it.
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 26•12 years ago
|
||
I've managed to reproduce this locally.
Fails about 1 in 10 runs.
I dumped all properties of the restartLink, attached is a diff of those properties. Based on the dimensions and positions (0) I might assert that we try to click on the link before it is actually displayed.
If this is the case, waiting for the element before clicking it should solve the problem. Running tests now to verify (will probably leave them overnight running to make sure no failures).
But I am a bit concerned about the difference on the markup, mainly:
Pass
> command="cmd_restartApp"
Fail
> oncommand="document.getBindingParent(this).restart();"
This might not mean anything, and it might change as the element loads into view.
Reporter | ||
Comment 27•12 years ago
|
||
(In reply to Andrei Eftimie from comment #26)
> But I am a bit concerned about the difference on the markup, mainly:
>
> Pass
> > command="cmd_restartApp"
>
> Fail
> > oncommand="document.getBindingParent(this).restart();"
Blair, do you have an explanation for this behavior of the restart button in the extension pane?
Flags: needinfo?(bmcbride)
Assignee | ||
Comment 28•12 years ago
|
||
Attachment #731081 -
Flags: review?(andreea.matei)
Assignee | ||
Comment 29•12 years ago
|
||
Missing comment for the previously attached patch.
Ran tests overnight. More then 1000 runs without incident.
It should fix the problem.
Comment 30•12 years ago
|
||
Comment on attachment 731081 [details] [diff] [review]
Patch v1
Review of attachment 731081 [details] [diff] [review]:
-----------------------------------------------------------------
I see we are using this restartLink element in several tests, I wonder why only this one failed.
Anyway, it would be good as a precaution to have the fix on all of them.
::: tests/functional/restartTests/testAddons_uninstallExtension/test4.js
@@ +35,5 @@
>
> // Restart the browser using restart prompt
> var restartLink = addonsManager.getElement({type: "listView_restartLink",
> parent: enabledExtension});
> + controller.waitForElement(restartLink);
Won't waitThenClick() work, instead of this and click()?
Attachment #731081 -
Flags: review?(andreea.matei) → review-
Comment 31•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #27)
> Blair, do you have an explanation for this behavior of the restart button in
> the extension pane?
No idea, sorry :\
Flags: needinfo?(bmcbride)
Assignee | ||
Comment 32•12 years ago
|
||
We are now waiting for every instance of the restartLink.
> Won't waitThenClick() work, instead of this and click()?
Not really, since we want to wait for the element to be available, and only then do startUserShutdown()
Attachment #731081 -
Attachment is obsolete: true
Attachment #731788 -
Flags: review?(andreea.matei)
Comment 33•12 years ago
|
||
Comment on attachment 731788 [details] [diff] [review]
Patch v2
Review of attachment 731788 [details] [diff] [review]:
-----------------------------------------------------------------
::: tests/functional/restartTests/testAddons_changeTheme/test1.js
@@ +78,5 @@
> // Restart the browser using restart prompt
> var restartLink = addonsManager.getElement({type: "listView_restartLink",
> parent: plainTheme});
> + controller.waitForElement(restartLink);
> +
Trailing whitespaces.
::: tests/functional/restartTests/testAddons_changeTheme/test2.js
@@ +45,5 @@
> // Restart the browser using restart prompt
> var restartLink = addonsManager.getElement({type: "listView_restartLink",
> parent: defaultTheme});
> + controller.waitForElement(restartLink);
> +
Same here
::: tests/functional/restartTests/testAddons_enableDisableExtension/test2.js
@@ +41,5 @@
> // Click on the list view restart link
> var restartLink = addonsManager.getElement({type: "listView_restartLink",
> parent: addon});
> + controller.waitForElement(restartLink);
> +
Whitespaces
::: tests/functional/restartTests/testAddons_uninstallExtension/test2.js
@@ +53,5 @@
> // Restart the browser using restart prompt
> var restartLink = addonsManager.getElement({type: "listView_restartLink",
> parent: toDisableExtension});
> + controller.waitForElement(restartLink);
> +
Trailing whitespaces
Attachment #731788 -
Flags: review?(andreea.matei) → review-
Assignee | ||
Comment 34•12 years ago
|
||
Sorry about that.
Fix trailing whitespaces.
Attachment #731788 -
Attachment is obsolete: true
Attachment #732224 -
Flags: review?(andreea.matei)
Comment 35•12 years ago
|
||
Happened again today with Firefox 23.0a1 on Mac OS X 10.7.5 (x86_64):
http://mozmill-ci.blargon7.com/#/functional/report/25ad365ca7bcf4905e9b700b4fbb635b
Comment 36•12 years ago
|
||
Comment on attachment 732224 [details] [diff] [review]
Patch v2.1
Review of attachment 732224 [details] [diff] [review]:
-----------------------------------------------------------------
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/c866a17f277c (default)
Attachment #732224 -
Flags: review?(andreea.matei) → review+
Updated•12 years ago
|
status-firefox16:
unaffected → ---
status-firefox17:
affected → ---
status-firefox19:
affected → ---
status-firefox20:
--- → affected
status-firefox23:
--- → fixed
Comment 37•12 years ago
|
||
Unfortunately this has not fixed the issue:
http://mozmill-ci.blargon7.com/#/functional/report/740ab23e062758ae8a240b263d27da26
Henrik, should we leave this change as an improvement though?
Reporter | ||
Comment 38•12 years ago
|
||
I think we should backout the patch. Given that we don't get a failure that the restartLink element doesn't exist. So it exists even without the extra waitForElement() call. We simply don't click on it.
Most likely it has something to do with the visibility state, and we click on it before it has been made visible.
Comment 39•12 years ago
|
||
Reporter | ||
Comment 40•12 years ago
|
||
Can we please get this test disabled given that we can't find a solution that quickly? This failure is bouncing us for days now.
Assignee | ||
Comment 41•12 years ago
|
||
Patch to skip the test.
*also needed to skip test5 because it relies on test4
Attachment #734532 -
Flags: review?(andreea.matei)
Comment 42•12 years ago
|
||
Comment on attachment 734532 [details] [diff] [review]
skip patch
Review of attachment 734532 [details] [diff] [review]:
-----------------------------------------------------------------
Landed skip:
http://hg.mozilla.org/qa/mozmill-tests/rev/89cdb2dc35db (default)
Attachment #734532 -
Flags: review?(andreea.matei) → review+
Updated•12 years ago
|
Comment 43•12 years ago
|
||
Assignee | ||
Comment 44•12 years ago
|
||
I might have had the right idea to "wait" for the restartLink based on previous evidence that when it failed it wasn't properly initialised.
But the implementation was not good. I used controller.waitFor() which, as I've now looked more deeply into mozmill's code, only checks that the element is available in the DOM. And the link was there, it only seemed not to be initialised.
The correct approach might be to wait for the element not to be disabled.
But alas, I am unable to reproduce it anymore. (Not locally, and not on our CI VM's).
Will try further to reproduce it.
Reporter | ||
Comment 45•12 years ago
|
||
There is a CSS transformation going on for the restart button link and the width is changing from auto to a specific value. The link is not disabled in any way. That might help you but better would be to have a look at the source what's happening for real when clicking on enable or disable.
Comment 46•11 years ago
|
||
I'm not sure if this is related but testAddons_UninstallExtension test1 through test3 failed today for Firefox 23.0b1 pl on Windows 8 64-bit:
http://mozmill-ondemand.blargon7.com/#/functional/report/91511d5536e962e0de7f57ed1ed83fec
Comment 47•11 years ago
|
||
Has happened 3 times today on Aurora, windows 8:
http://mozmill-daily.blargon7.com/#/functional/failure?branch=All&platform=All&from=2013-09-18&to=&test=%2FrestartTests%2FtestAddons_uninstallExtension%2Ftest4.js&func=test4.js%3A%3AteardownModule
Test4 and test5 were unskipped as part of bug 915193 and need to be disabled.
Comment 48•11 years ago
|
||
Disabling tests, manifest file wasn't changed.
Attachment #806603 -
Flags: review?(andrei.eftimie)
Assignee | ||
Comment 49•11 years ago
|
||
Comment on attachment 806603 [details] [diff] [review]
skipTests.patch
Review of attachment 806603 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, these 2 tests shouldn't have been unskipped.
The manifest.ini skip is still there.
Disabled:
http://hg.mozilla.org/qa/mozmill-tests/rev/678d05fab339 (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/d56aac198f68 (mozilla-aurora)
Attachment #806603 -
Flags: review?(andrei.eftimie)
Attachment #806603 -
Flags: review+
Attachment #806603 -
Flags: checkin+
Assignee | ||
Comment 50•11 years ago
|
||
These have been skipped for a long time now.
We've had numerous changes, including the move to mozmill 2.0
I've ran this 50 times in a loop. No failures.
It _was_ intermittent before. So this is not failproof.
I suggest we reenable tests 4 & 5 and monitor the outcome.
Attached is an unskip patch for default
Attachment #8388514 -
Flags: review?(andreea.matei)
Comment 51•11 years ago
|
||
Comment on attachment 8388514 [details] [diff] [review]
unskip_1.patch
Review of attachment 8388514 [details] [diff] [review]:
-----------------------------------------------------------------
Re-enabled:
http://hg.mozilla.org/qa/mozmill-tests/rev/8fa4cef860a5 (default)
Attachment #8388514 -
Flags: review?(andreea.matei) → review+
Assignee | ||
Updated•11 years ago
|
status-firefox27:
--- → disabled
status-firefox28:
--- → disabled
status-firefox29:
--- → disabled
status-firefox30:
--- → fixed
status-firefox-esr24:
--- → disabled
Comment 52•11 years ago
|
||
Enabled on aurora as well:
http://hg.mozilla.org/qa/mozmill-tests/rev/0b8dd0ef98b1 (aurora)
Comment 53•11 years ago
|
||
Andrei, could you please check if everything is fine on the rest of the branches to unskip the test?
Assignee | ||
Updated•11 years ago
|
status-firefox31:
--- → fixed
Assignee | ||
Comment 54•11 years ago
|
||
Unskip for release.
Attachment #8394651 -
Flags: review?(andreea.matei)
Assignee | ||
Comment 55•11 years ago
|
||
Unskip for ESR24
Attachment #8394652 -
Flags: review?(andreea.matei)
Assignee | ||
Comment 56•11 years ago
|
||
Comment 57•11 years ago
|
||
Comment on attachment 8394651 [details] [diff] [review]
unskip_release.patch
Review of attachment 8394651 [details] [diff] [review]:
-----------------------------------------------------------------
http://hg.mozilla.org/qa/mozmill-tests/rev/1a452afb4700 (release)
http://hg.mozilla.org/qa/mozmill-tests/rev/4bb20a4ae08f (esr24)
Thanks!
Attachment #8394651 -
Flags: review?(andreea.matei) → review+
Updated•11 years ago
|
Attachment #8394652 -
Flags: review?(andreea.matei) → review+
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-test-failure] s=121126 u=failure c=addons p=1 → [mozmill-test-failure]
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•