Closed
Bug 671479
Opened 13 years ago
Closed 11 years ago
Mozmill Endurance test for loading a SWF video via iframe
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(firefox20 fixed, firefox21 fixed, firefox22 fixed, firefox23 fixed, firefox-esr17 fixed)
People
(Reporter: u279076, Assigned: daniela.p98911)
References
()
Details
(Whiteboard: [mozmill-endurance])
Attachments
(2 files, 4 obsolete files)
3.66 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
3.73 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
Create a Mozmill Endurance test for loading an SWF video embedded into a webpage using the <iframe> tag. An example of how YouTube does this: <iframe width="425" height="349" src="http://url.to.youtube/video" frameborder="0" allowfullscreen></iframe>
For consistency, please use a width of 640 and a height of 480.
Comment 2•13 years ago
|
||
That will work with flash content? I would be surprised.
(In reply to comment #2) > That will work with flash content? I would be surprised. Yes, I've tested it locally and it works. Simply replace the youtube URL in the code above with the URL to our SWF video on Mozqa.com -- it works.
FYI, in case I wasn't clear before, this is how YouTube does their embedding. Go to any video click the Share button then the Embed button.
Comment 5•13 years ago
|
||
The test page still uses the old flash files. Bug 705238 has to land before this one.
Assignee: nobody → alex.lakatos
Status: NEW → ASSIGNED
Attachment #576891 -
Flags: review?(anthony.s.hughes)
Comment on attachment 576891 [details] [diff] [review] patch v1.0 [backed-out] Landed: http://hg.mozilla.org/qa/mozmill-tests/rev/e1f5d8b8b580 (default) http://hg.mozilla.org/qa/mozmill-tests/rev/87af5196f9a5 (mozilla-aurora) http://hg.mozilla.org/qa/mozmill-tests/rev/abe51c2208e3 (mozilla-beta) http://hg.mozilla.org/qa/mozmill-tests/rev/c4ae62f59d88 (mozilla-release)
Attachment #576891 -
Attachment description: patch v1.0 → patch v1.0 [checked-in]
Attachment #576891 -
Flags: review?(anthony.s.hughes) → review+
Please verify with tomorrow's testrun.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
This appears to be causing a crash in the testruns. See: http://mozmill-release.brasstacks.mozilla.com/#/endurance/report/45c0ad8f20b88e32d5d7aab6295c48bf http://mozmill-release.brasstacks.mozilla.com/#/endurance/report/45c0ad8f20b88e32d5d7aab6295bdf90 It would appear that memory is not being cleared between iterations as expected. Can we replicate this locally? We might need to back this out as it's preventing us from seeing results form other endurance tests.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•13 years ago
|
||
Yes, we should backout the patch for now. Since it has been landed on all branches, we have to take care of any of those. For the future I would really like to propose that we only land it on default and once it has been proven to work we backport it to other branches.
Status: REOPENED → ASSIGNED
Reporter | ||
Comment 10•13 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [away 11/25 - 12/03] from comment #9) > Yes, we should backout the patch for now. Since it has been landed on all > branches, we have to take care of any of those. For the future I would > really like to propose that we only land it on default and once it has been > proven to work we backport it to other branches. I agree Henrik, and is something I was going to propose to the team. I was just waiting until you returned from vacation to send out.
Comment 11•13 years ago
|
||
Anthony, why this hasn't been backed out yesterday? Any disconnect should cause an immediate backout. Dave, can you please take care of? We need a clean testrun today. Thanks.
Comment 12•13 years ago
|
||
Backed out: http://hg.mozilla.org/qa/mozmill-tests/rev/026bab19d77a (default) http://hg.mozilla.org/qa/mozmill-tests/rev/e97be7416ca7 (mozilla-aurora) http://hg.mozilla.org/qa/mozmill-tests/rev/bc6e1c4e2bc8 (mozilla-beta) http://hg.mozilla.org/qa/mozmill-tests/rev/b8a8a35f3e9b (mozilla-release) Can we try to replicate this locally with different versions of Firefox as this may be a critical regression.
Attachment #576891 -
Attachment description: patch v1.0 [checked-in] → patch v1.0 [backed-out]
Reporter | ||
Comment 13•13 years ago
|
||
I think this is likely caused by the same issue as bug 671476 comment 71. I'm noticing a degradation in performance over time (possibly GC related). Let's debug it on bug 671476 and see if the fix applies to all of these tests.
Depends on: 671476
Comment 14•13 years ago
|
||
I would propose to file a new bug for the investigation, just to limit the conversation over on bug 671476. Also we could move such a new bug into another component if it's really not our fault.
Reporter | ||
Comment 15•13 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #14) > I would propose to file a new bug for the investigation, just to limit the > conversation over on bug 671476. Also we could move such a new bug into > another component if it's really not our fault. We will make that call by discussing on bug 671476 to limit the discussion happening across several bugs.
Comment 16•11 years ago
|
||
Dave, is that a test which would still be useful for us?
Assignee: alex.lakatos.dev → nobody
Status: ASSIGNED → NEW
Comment 17•11 years ago
|
||
Yes, I believe so.
Assignee | ||
Comment 18•11 years ago
|
||
Patch still applies correctly. Testrun reports for Linux, Windows and Mac are below for this issue and the one logged in bug 671476: http://mozmill-crowd.blargon7.com/#/endurance/report/8ec48e7ab0431a61b624e36d31b829ec http://mozmill-crowd.blargon7.com/#/endurance/report/8ec48e7ab0431a61b624e36d31bd62ae http://mozmill-crowd.blargon7.com/#/endurance/report/8ec48e7ab0431a61b624e36d31c20b38
Comment 19•11 years ago
|
||
Please at least update the license block in the patch and request review.
Assignee | ||
Comment 20•11 years ago
|
||
I have modified the patch to have the new license and also made changes: - added aModule parameter to setupModule - added tearDown because we might be failing at waitForPageLoad and not close the tabs before the end of the test - added manifest.ini inside the new folder - added the new manifest.ini to the endurance/manifest.ini Reports were done together with the new changes from bug 671476 since there were issues running both of them in a single testrun. Linux: http://mozmill-crowd.blargon7.com/#/endurance/report/8ec48e7ab0431a61b624e36d31ff4d2c Windows: http://mozmill-crowd.blargon7.com/#/endurance/report/c8094a822ef568b588c5eddaca00cf92 MAC: http://mozmill-crowd.blargon7.com/#/endurance/report/c8094a822ef568b588c5eddaca0fe07c NOTE: This patch was created above the one from bug 671476 since this bug is dependent on it. Also, both patches are modifying the manifest.ini from endurance. It takes about 2 hours for the endurance runs after adding these two tests
Assignee: nobody → dpetrovici
Attachment #576891 -
Attachment is obsolete: true
Attachment #739081 -
Flags: review?(andreea.matei)
Comment 21•11 years ago
|
||
Apart from both modifying the same manifest file, I don't see in interdependency here. Both bugs should have patches based on default, and whichever lands last will likely need an update to apply.
No longer depends on: 671476
Comment 22•11 years ago
|
||
Comment on attachment 739081 [details] [diff] [review] patch v1.1 Review of attachment 739081 [details] [diff] [review]: ----------------------------------------------------------------- Please don't based patches on top of other unlanded patches.
Attachment #739081 -
Flags: review?(andreea.matei) → review-
Comment 23•11 years ago
|
||
Comment on attachment 739081 [details] [diff] [review] patch v1.1 >+const TEST_DOMAIN = "http://www.mozqa.com/"; >+const TEST_PAGE = TEST_DOMAIN + "data/firefox/plugins/flash/test_swf_iframes.html"; Please use test_swf_iframes_nosound.html
Assignee | ||
Comment 24•11 years ago
|
||
This patch is created without the changes from bug 671476. Reports: http://mozmill-crowd.blargon7.com/#/endurance/report/c8094a822ef568b588c5eddaca2c3365 http://mozmill-crowd.blargon7.com/#/endurance/report/c8094a822ef568b588c5eddaca2be2f4
Attachment #739081 -
Attachment is obsolete: true
Attachment #739596 -
Flags: review?(andreea.matei)
Comment 25•11 years ago
|
||
Comment on attachment 739596 [details] [diff] [review] patch v1.2 Review of attachment 739596 [details] [diff] [review]: ----------------------------------------------------------------- ::: tests/endurance/testFlash_SWFVideoIframe/test1.js @@ +7,5 @@ > +var endurance = require("../../../lib/endurance"); > +var tabs = require("../../../lib/tabs"); > + > +const BASE_URL = "http://www.mozqa.com/"; > +const TEST_URL = BASE_URL + "data/firefox/plugins/flash/test_swf_iframes.html"; I think what was established in bug 827752 for the remote pages was to use TEST_URL and not separate the link in 2 constants. Also as Dave pointed, we should use test_swf_iframes_nosound.html @@ +14,5 @@ > + > +function setupModule(aModule) { > + aModule.controller = mozmill.getBrowserController(); > + > + aModule.enduranceManager = new endurance.EnduranceManager(controller); aModule.controller as parameter @@ +15,5 @@ > +function setupModule(aModule) { > + aModule.controller = mozmill.getBrowserController(); > + > + aModule.enduranceManager = new endurance.EnduranceManager(controller); > + aModule.tabBrowser = new tabs.tabBrowser(controller); Same here @@ +25,5 @@ > + if (aAddon.isActive && aAddon.type === "plugin" && aAddon.name === "Shockwave Flash") > + return true; > + }); > + > + if (isFlashActive[0] !== true) { We could use !isFlashActive[0] here. @@ +26,5 @@ > + return true; > + }); > + > + if (isFlashActive[0] !== true) { > + testFlashURL.__force_skip__ = "No enabled Flash plugin detected"; This should be testFlashIframe() and please skip teardownModule() as well. @@ +51,5 @@ > + controller.open(TEST_URL); > + controller.waitForPageLoad(TIMEOUT_PAGE); > + enduranceManager.addCheckpoint("Web page has been loaded"); > + }); > + // Close all tabs We can remove this comment and leave a blank line, as it is cleared from the method's name what it will do.
Attachment #739596 -
Flags: review?(andreea.matei) → review-
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 26•11 years ago
|
||
Modified patch based on review. Reports are: Linux: http://mozmill-crowd.blargon7.com/#/endurance/report/c8094a822ef568b588c5eddacaa49a9e MAC: http://mozmill-crowd.blargon7.com/#/endurance/report/c8094a822ef568b588c5eddacaa0e599 Windows: http://mozmill-crowd.blargon7.com/#/endurance/report/c8094a822ef568b588c5eddacaa2bd50
Attachment #739596 -
Attachment is obsolete: true
Attachment #740683 -
Flags: review?(andreea.matei)
Assignee | ||
Comment 27•11 years ago
|
||
Due to bug 671476 that landed on default, this patch does not apply cleanly anymore. So, I have modified it. Reports: Linux: http://mozmill-crowd.blargon7.com/#/endurance/report/49feb8c5f96a46e9037cffdde1c8a865 MAC: http://mozmill-crowd.blargon7.com/#/endurance/report/49feb8c5f96a46e9037cffdde1c89f2f\ Windows: http://mozmill-crowd.blargon7.com/#/endurance/report/49feb8c5f96a46e9037cffdde1c8cbc8
Attachment #740683 -
Attachment is obsolete: true
Attachment #740683 -
Flags: review?(andreea.matei)
Attachment #742991 -
Flags: review?(andreea.matei)
Comment 28•11 years ago
|
||
Comment on attachment 742991 [details] [diff] [review] patch v1.4 Review of attachment 742991 [details] [diff] [review]: ----------------------------------------------------------------- Landed as: http://hg.mozilla.org/qa/mozmill-tests/rev/23fbcafd2b77 (default) Dave, can we close this now without backporting?
Attachment #742991 -
Flags: review?(andreea.matei) → review+
Updated•11 years ago
|
status-firefox23:
--- → fixed
Comment 29•11 years ago
|
||
As mentioned in yesterday's meeting, we do backport new endurance tests.
Assignee | ||
Comment 30•11 years ago
|
||
The patch for Nightly applies cleanly on all branches except for ESR17. On ESR17 there is the manifest.ini file where we have an additional test, so I have created the patch for it. Reports: Aurora: Linux: http://mozmill-crowd.blargon7.com/#/endurance/report/452ec32f8deec0960aea87aa06f19708 MAC: http://mozmill-crowd.blargon7.com/#/endurance/report/452ec32f8deec0960aea87aa06f1cb89 Windows: http://mozmill-crowd.blargon7.com/#/endurance/report/452ec32f8deec0960aea87aa06f2064f Beta: Windows: http://mozmill-crowd.blargon7.com/#/endurance/report/452ec32f8deec0960aea87aa06feee79 MAC: http://mozmill-crowd.blargon7.com/#/endurance/report/452ec32f8deec0960aea87aa06feb473 Linux: http://mozmill-crowd.blargon7.com/#/endurance/report/452ec32f8deec0960aea87aa06fea152 Release: Linux: http://mozmill-crowd.blargon7.com/#/endurance/report/ea82256a8ae9808d91b7e8145e05ee5c MAC: http://mozmill-crowd.blargon7.com/#/endurance/report/ea82256a8ae9808d91b7e8145e05faf3 Windows: http://mozmill-crowd.blargon7.com/#/endurance/report/ea82256a8ae9808d91b7e8145e060c2d ESR17: Linux: http://mozmill-crowd.blargon7.com/#/endurance/report/ea82256a8ae9808d91b7e8145e18090a MAC: http://mozmill-crowd.blargon7.com/#/endurance/report/ea82256a8ae9808d91b7e8145e180694 Windows: http://mozmill-crowd.blargon7.com/#/endurance/report/ea82256a8ae9808d91b7e8145e1ba330
Attachment #746868 -
Flags: review?(andreea.matei)
Comment 31•11 years ago
|
||
Comment on attachment 746868 [details] [diff] [review] patch v1.0 for ESR17 Review of attachment 746868 [details] [diff] [review]: ----------------------------------------------------------------- Transplanted as: http://hg.mozilla.org/qa/mozmill-tests/rev/d155bd6e6eb5 (aurora) http://hg.mozilla.org/qa/mozmill-tests/rev/5c3126d75200 (beta) http://hg.mozilla.org/qa/mozmill-tests/rev/73292d5b3863 (release) http://hg.mozilla.org/qa/mozmill-tests/rev/53d8cf674509 (esr17) Thanks Daniela!
Attachment #746868 -
Flags: review?(andreea.matei) → review+
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago → 11 years ago
status-firefox20:
--- → fixed
status-firefox21:
--- → fixed
status-firefox22:
--- → fixed
status-firefox-esr17:
--- → fixed
Resolution: --- → FIXED
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
•