Closed
Bug 1015126
Opened 10 years ago
Closed 7 years ago
Test Failure "controller.waitForPageLoad(): A page load has been detected" due to missing home button on the navigation toolbar
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect, P1)
Tracking
(firefox32 wontfix, firefox33 wontfix, firefox34 wontfix, firefox35 disabled, firefox36 disabled, firefox37 disabled, firefox38 disabled, firefox-esr31 disabled)
People
(Reporter: danisielm, Unassigned)
References
()
Details
(Whiteboard: [mozmill-test-failure][blocked by bug 1061193][mozmill-test-skipped])
Attachments
(5 files, 1 obsolete file)
3.53 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
157.09 KB,
image/png
|
Details | |
118.63 KB,
image/jpeg
|
Details | |
6.42 KB,
patch
|
AndreeaMatei
:
review+
mihaelav
:
review+
|
Details | Diff | Splinter Review |
6.04 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
We've seen this failure: controller.waitForPageLoad(URI=http://localhost:43336/search/opensearch.html, readyState=complete) on a mac osx 10.7 node with the latest Nightly. Failed 4 times in a testrun in this tests: testSearch/testSearchViaFocus.js testSearch/testSearchViaShortcut.js testSearch/testOpenSearchAutodiscovery.js testSearch/testAddMozSearchProvider.js Report: http://mozmill- daily.blargon7.com/#/functional/report/7a69d3e8424ecf8642bb6566e4fed8d2
Reporter | ||
Comment 1•10 years ago
|
||
Another failure with readyState = complete in testSecurity/testSecurityInfoViaMoreInformation.js. http://mozmill-daily.blargon7.com/#/remote/report/6959f9a8236961096763389083e95e8f I suspect it's the same failure (even though it's a remote url). So changing bug description to reflect the state here.
Summary: Test Failure "controller.waitForPageLoad(URI=http://localhost:43336/search/opensearch.html, readyState=complete)" → Test Failure "controller.waitForPageLoad(URI=______, readyState=complete)"
Reporter | ||
Comment 2•10 years ago
|
||
This week I've seen failures in a row with the same 3 tests in the same testruns. This tests are failing with readyState complete: http://mozmill-daily.blargon7.com/#/functional/failure?app=All&branch=All&platform=All&from=2014-02-03&test=%2FtestPreferences%2FtestRestoreHomepageToDefault.js&func=testRestoreHomeToDefault http://mozmill-daily.blargon7.com/#/functional/failure?app=All&branch=All&platform=All&from=2014-02-03&test=%2FtestPreferences%2FtestSetToCurrentPage.js&func=testSetHomePage http://mozmill-daily.blargon7.com/#/functional/failure?app=All&branch=All&platform=All&from=2014-02-03&test=%2FtestToolbar%2FtestHomeButton.js&func=testHomeButton Here is how it looks a single report: http://mozmill-daily.blargon7.com/#/functional/report/74dbcf1bcfcf95d7600c6041dd10d80c
Comment 3•10 years ago
|
||
These are failing very often lately. Only 33 and 32 seems to be affected. Failed only on Linux. It all seems to have started on the 2014-06-10: http://mozmill-daily.blargon7.com/#/functional/failure?app=Firefox&branch=All&platform=All&from=2014-06-01&test=%2FtestPreferences%2FtestRestoreHomepageToDefault.js&func=testRestoreHomeToDefault When this fails all 3 tests fail with waitForPageLoad. > /testPreferences/testRestoreHomepageToDefault.js > /testPreferences/testSetToCurrentPage.js > /testToolbar/testHomeButton.js I propose to skip them for the time being. We used to see this 4-5 times a day. Today these have failed 17 times! I'll prepare a skip patch.
Assignee: nobody → andrei.eftimie
Status: NEW → ASSIGNED
status-firefox32:
--- → affected
status-firefox33:
--- → affected
OS: All → Linux
Priority: -- → P1
Comment 4•10 years ago
|
||
I've disabled these 3 tests only on Linux. They are run on OSX: http://mozmill-crowd.blargon7.com/#/functional/report/59ac3f70f127c02da3a59eb1fc658e6a And they are skipped on Linux: http://mozmill-crowd.blargon7.com/#/functional/report/59ac3f70f127c02da3a59eb1fc6769bc
Attachment #8448731 -
Flags: review?(andreea.matei)
Comment 5•10 years ago
|
||
Comment on attachment 8448731 [details] [diff] [review] skip.patch Review of attachment 8448731 [details] [diff] [review]: ----------------------------------------------------------------- Landed: http://hg.mozilla.org/qa/mozmill-tests/rev/37e3900aebaa (default)
Attachment #8448731 -
Flags: review?(andreea.matei) → review+
Updated•10 years ago
|
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][mozmill-test-skipped]
Comment 6•10 years ago
|
||
Works fine on Aurora as well: http://mozmill-crowd.blargon7.com/#/functional/report/59ac3f70f127c02da3a59eb1fc682f1f http://mozmill-crowd.blargon7.com/#/functional/report/59ac3f70f127c02da3a59eb1fc6858d3 Transplanted: https://hg.mozilla.org/qa/mozmill-tests/rev/23e8abb07d5c (mozilla-aurora)
Comment 7•10 years ago
|
||
I will check that on one of the new kickstarted machines which showed this a lot.
Flags: needinfo?(hskupin)
Reporter | ||
Comment 9•10 years ago
|
||
This also fails on windows: http://mozmill-release.blargon7.com/#/functional/report/a3b8d1e9bea5a0fc05cd41dbf60d7c8c
OS: Linux → All
Updated•10 years ago
|
Flags: needinfo?(hskupin) → needinfo?(andrei.eftimie)
Comment 10•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [away 07/19 - 08/01] from comment #7) > I will check that on one of the new kickstarted machines which showed this a > lot. Just adding before it gets lost again. The problem as covered in this bug can constantly be reproduced on a kickstarted machine. For this simply use mm-ci-ub-12.04-64 (staging).
Comment 11•10 years ago
|
||
I found why this is failing on puppetized machines. We are running on a much lower screen resolution on these machines (800x600). I can reproduce the same failures locally if I have a similar screen real-estate. Now to find out exactly what is failing (most likely we are unable to properly use some UI elements)
Comment 12•10 years ago
|
||
Here is the problem depicted graphically. On lower window sizes, the toolbar buttons collapse and we fail to trigger click events on those items. We would need to click on the "expand" button first. If memory serves me well, this is an Australis feature, and we had a bug that mentioned this. I will dig it up.
Flags: needinfo?(andrei.eftimie)
Comment 13•10 years ago
|
||
Interesting. Do we make use of the home button in all of the cases as covered here? I think that we should have only a single test, which cares about toolbar elements. Otherwise we should use the menu, if there is a command available - which is in case of go to home page.
Comment 14•10 years ago
|
||
The problem with the screen resolution is probably because we do not use the xorg.conf yet. There is bug 1027345 which has to be addressed, and which lift us up to 1024x768. Looks like this is a real blocker for us for switching to puppet.
Comment 15•10 years ago
|
||
Seems we did have 1 Australis bug that was never finished, and a fix there should fix this issue. See bug 942151.
Depends on: 942151
Comment 16•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [away 07/19 - 08/01] from comment #13) > Interesting. Do we make use of the home button in all of the cases as > covered here? I think that we should have only a single test, which cares > about toolbar elements. Otherwise we should use the menu, if there is a > command available - which is in case of go to home page. Yes, all 3 tests that were constantly failing would use the "home-button" directly. > firefox/tests/functional/testPreferences/testRestoreHomepageToDefault.js > firefox/tests/functional/testPreferences/testSetToCurrentPage.js > firefox/tests/functional/testToolbar/testHomeButton.js
Comment 17•10 years ago
|
||
Ok, so this is the case for our Puppet driven Ubuntu hosts then. But why are we seeing this on our current production boxes? Shall we aim to start Firefox maximized? Maybe that is the problem here, especially since Australis is hiding toolbar buttons?
Comment 18•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [away 07/19 - 08/01] from comment #17) > Ok, so this is the case for our Puppet driven Ubuntu hosts then. But why are > we seeing this on our current production boxes? Shall we aim to start > Firefox maximized? Maybe that is the problem here, especially since > Australis is hiding toolbar buttons? On our production ci machines the default size of Firefox also misses the "home-button". It looks to me that the recently added "loop-call-button" pushes the "home-button" into the expandable panel. This can be solved by maximizing the Firefox window.
Comment 19•10 years ago
|
||
(In reply to Andrei Eftimie from comment #18) > "home-button". It looks to me that the recently added "loop-call-button" > pushes the "home-button" into the expandable panel. This can be solved by > maximizing the Firefox window. Do we know which bug added this? Could be added to the blocking list, and this might be a regression beside that bug.
Comment 20•10 years ago
|
||
It must be bug 1017273: https://hg.mozilla.org/mozilla-central/rev/6dc734bab538#l2.12
Comment 21•10 years ago
|
||
So can you please compare the build before and after its landing? How does the default menu palette look like? Do we hide the home button by default in a sub menu since the loop button is present? If that is the case we should request an increase of the default width.
Comment 22•10 years ago
|
||
AFAIK the default width is a percentage of the screen resolution. This only affects us at 800x600 right now.
Comment 23•10 years ago
|
||
The default width is calculated differently across platforms. It's not always a percentage of the screen width. Given that it really only affects us for a resolution of 800x600 (which we don't want to test), the bug has way lesser priority then. None of our current CI systems is running at 800x600, and we don't activate puppetagain unless we support at least 1024x768. So I don't see that we should continue here. I even vote for wontfix.
Priority: P1 → P3
Comment 24•10 years ago
|
||
(In reply to daniel.gherasim from comment #0) > We've seen this failure: > controller.waitForPageLoad(URI=http://localhost:43336/search/opensearch.html, > readyState=complete) on a mac osx 10.7 node with the latest Nightly. Wait, the 800x600 statement is not true! None of our 10.7 machines running that resolution.
Priority: P3 → P1
Updated•10 years ago
|
status-firefox34:
--- → disabled
Comment 25•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #24) > (In reply to daniel.gherasim from comment #0) > > We've seen this failure: > > controller.waitForPageLoad(URI=http://localhost:43336/search/opensearch.html, > > readyState=complete) on a mac osx 10.7 node with the latest Nightly. > > Wait, the 800x600 statement is not true! None of our 10.7 machines running > that resolution. The initial report on OSX is different from all others treated in this bug. So all of them were actually on Linux.
Comment 26•10 years ago
|
||
Ok, so it looks like that one machine which was mostly affected is mm-ub-1310-32-4.qa.scl3.mozilla.com. Could you do some testruns with those affected tests on that machine? Would be good to know how often it reproduces.
Comment 27•10 years ago
|
||
Ah so I was wrong just now. I did explain it in comment 18, maybe that wasn't clear enough. On our ubuntu CI machines, where we run at 1024x768 screen resolution, this issue is affecting us right now. With the recently (then) introduced "call" button the "home" button gets pushed in the expandable panel. With this in mind, I would indeed push to have a greater default window size in Firefox as a new user should have all default buttons visible. The question would be: is anyone still using 1024x768?q
Comment 28•10 years ago
|
||
We have a min-width specified which should not hide any main toolbar buttons. I think it is this one: http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.css#9 You could tweak this css file and check if a higher value solves the problem. This is similar to bug 951928, which got fixed. So lets get a Firefox bug filed for a fix.
Updated•10 years ago
|
Summary: Test Failure "controller.waitForPageLoad(URI=______, readyState=complete)" → Test Failure "controller.waitForPageLoad(URI=______, readyState=complete)" due to missing home button on the navigation toolbar
Updated•10 years ago
|
Whiteboard: [mozmill-test-failure][mozmill-test-skipped] → [mozmill-test-failure][mozmill-test-skipped][blocked by bug 1061193]
Comment 29•10 years ago
|
||
This just failed on ESR31: http://mozmill-release.blargon7.com/#/functional/report/4b004f9a9a3a5bc3aa0f3a07c16c400d We'll need to disable these tests as well on this branch.
status-firefox35:
--- → disabled
status-firefox36:
--- → disabled
status-firefox37:
--- → disabled
status-firefox-esr31:
--- → affected
Comment 30•10 years ago
|
||
Disabled to ESR31, transplanted: https://hg.mozilla.org/qa/mozmill-tests/rev/8e6a57061e5c (mozilla-esr31)
Updated•10 years ago
|
Assignee: andrei → daniela.domnici
Updated•9 years ago
|
status-firefox38:
--- → disabled
Comment 31•9 years ago
|
||
Created the fix patch for the nightly branch.
Attachment #8559891 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8559891 -
Flags: review?(andreea.matei)
Comment 32•9 years ago
|
||
Tested it on all platforms.Here are the results: Ubuntu: http://mozmill-crowd.blargon7.com/#/functional/report/999627efae7b8074fc4a2f85163f181d. Windows: http://mozmill-crowd.blargon7.com/#/functional/report/999627efae7b8074fc4a2f85163fa0d9. MAC OSX: http://mozmill-crowd.blargon7.com/#/functional/report/999627efae7b8074fc4a2f85163fdb95
Comment 33•9 years ago
|
||
Comment on attachment 8559891 [details] [diff] [review] patch_V1 Review of attachment 8559891 [details] [diff] [review]: ----------------------------------------------------------------- Looks ok with the nit bellow addressed. Also, the commit message should be updated, it has a misspelled word (it should be "... due to too small window...") ::: firefox/tests/functional/testPreferences/testRestoreHomepageToDefault.js @@ +10,5 @@ > var tabs = require("../../../lib/tabs"); > var utils = require("../../../../lib/utils"); > > var prefWindow = require("../../../lib/ui/pref-window"); > +var browser = require("../../../lib/ui/browser"); This should be placed before prefWindow
Attachment #8559891 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8559891 -
Flags: review?(andreea.matei)
Attachment #8559891 -
Flags: review+
Comment 34•9 years ago
|
||
Fixed the nits.
Attachment #8559891 -
Attachment is obsolete: true
Attachment #8561361 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8561361 -
Flags: review?(andreea.matei)
Updated•9 years ago
|
Attachment #8561361 -
Flags: review?(mihaela.velimiroviciu) → review+
Comment 35•9 years ago
|
||
Comment on attachment 8561361 [details] [diff] [review] patch_V2 Review of attachment 8561361 [details] [diff] [review]: ----------------------------------------------------------------- https://hg.mozilla.org/qa/mozmill-tests/rev/195befdcc229 (default)
Attachment #8561361 -
Flags: review?(andreea.matei) → review+
Updated•9 years ago
|
Comment 36•9 years ago
|
||
The attachment 8561361 [details] [diff] [review] also applies to aurora, beta and release.For esr31 branch we don`t have the ../ui/base-window.js library, so we can`t backport it to esr31.
Comment 37•9 years ago
|
||
Created the patch for the esr31 branch. Results: http://mozmill-crowd.blargon7.com/#/functional/report/beeca5bc62c04337e8365d933b792fec
Attachment #8562064 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8562064 -
Flags: review?(andreea.matei)
Comment 38•9 years ago
|
||
https://hg.mozilla.org/qa/mozmill-tests/rev/1c8d308ac9ca (aurora) https://hg.mozilla.org/qa/mozmill-tests/rev/794c97f00d76 (beta) https://hg.mozilla.org/qa/mozmill-tests/rev/86d6fbd80543 (release)
Updated•9 years ago
|
Attachment #8562064 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8562064 -
Flags: review?(andreea.matei)
Attachment #8562064 -
Flags: review+
Comment 39•9 years ago
|
||
https://hg.mozilla.org/qa/mozmill-tests/rev/983244502ef3 (esr31)
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-test-failure][mozmill-test-skipped][blocked by bug 1061193] → [mozmill-test-failure][blocked by bug 1061193]
Comment 40•9 years ago
|
||
Failed again, with aurora and esr31. Results: http://mozmill-daily.blargon7.com/#/functional/failure?app=All&branch=All&platform=All&from=2015-02-10&to=&test=%2FtestPreferences%2FtestRestoreHomepageToDefault.js&func=testRestoreHomeToDefault
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•9 years ago
|
Comment 41•9 years ago
|
||
Failed again, with aurora and esr31: Reports: http://mozmill-daily.blargon7.com/#/functional/failure?app=All&branch=All&platform=All&from=2015-02-11&to=2015-02-12&test=%2FtestPreferences%2FtestRestoreHomepageToDefault.js&func=testRestoreHomeToDefault And also in /testToolbar/testHomeButton.js | testHomeButton http://mozmill-daily.blargon7.com/#/functional/failure?app=All&branch=All&platform=All&from=2015-02-10&to=2015-02-12&test=%2FtestToolbar%2FtestHomeButton.js&func=testHomeButton
Comment 42•9 years ago
|
||
This should have been totally backed out yesterday! I cannot even understand why this patch got backported straight through beta, release and esr31!. I will go ahead and backout the latest patch across branches.
Comment 43•9 years ago
|
||
https://hg.mozilla.org/qa/mozmill-tests/rev/6c1f80aa73a0 (default) https://hg.mozilla.org/qa/mozmill-tests/rev/47f225c2f882 (aurora) https://hg.mozilla.org/qa/mozmill-tests/rev/655650d00c1b (beta) https://hg.mozilla.org/qa/mozmill-tests/rev/d3e137a24573 (release) https://hg.mozilla.org/qa/mozmill-tests/rev/5fe4162edb1c (esr31)
Whiteboard: [mozmill-test-failure][blocked by bug 1061193] → [mozmill-test-failure][blocked by bug 1061193][mozmill-test-skipped]
Comment 44•9 years ago
|
||
There are lots of failures for testHomeButton.js on platforms other than Linux. We should get this test skipped completely and not only on Linux.
Updated•9 years ago
|
Summary: Test Failure "controller.waitForPageLoad(URI=______, readyState=complete)" due to missing home button on the navigation toolbar → Test Failure "controller.waitForPageLoad(): A page load has been detected" due to missing home button on the navigation toolbar
Comment 45•9 years ago
|
||
https://hg.mozilla.org/qa/mozmill-tests/rev/38925cbbe37b (default) https://hg.mozilla.org/qa/mozmill-tests/rev/620b41b85fd3 (aurora) https://hg.mozilla.org/qa/mozmill-tests/rev/dd330bca00c0 (beta) https://hg.mozilla.org/qa/mozmill-tests/rev/a196c9b8d900 (release) https://hg.mozilla.org/qa/mozmill-tests/rev/a74e3d49a0a4 (esr31)
Assignee: daniela.domnici → nobody
Comment 46•7 years ago
|
||
Mozmill tests have been superseded by Marionette tests.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 7 years ago
Resolution: --- → INVALID
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
•