Closed
Bug 1037443
Opened 12 years ago
Closed 11 years ago
Remove __force_skip__ statements from mozmill-tests
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect, P4)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(firefox32 fixed, firefox33 fixed, firefox34 fixed, firefox35 fixed, firefox-esr31 fixed)
People
(Reporter: andrei, Assigned: manu.jain13, Mentored)
Details
(Whiteboard: [lang=js][good first bug])
Attachments
(3 files, 3 obsolete files)
|
14.39 KB,
patch
|
andrei
:
review+
andrei
:
checkin+
|
Details | Diff | Splinter Review |
|
14.36 KB,
patch
|
andrei
:
review+
andrei
:
checkin+
|
Details | Diff | Splinter Review |
|
11.93 KB,
patch
|
andrei
:
review+
andrei
:
checkin+
|
Details | Diff | Splinter Review |
Since all disabling of tests is now done at manifest level, we should remove all __force_skip__ statements from the code.
| Reporter | ||
Updated•12 years ago
|
QA Contact: mozmill-tests → hskupin
Comment 1•11 years ago
|
||
I am a newbie and willing to fix this bug.
I found these two lines as per the following link:
http://mxr.mozilla.org/mozilla-central/search?string=__force_skip__&find=&findi=&filter=&hitlimit=&tree=mozilla-central
Please guide me what to do.
Comment 2•11 years ago
|
||
Removed all instances of __force_skip__ statements from mozmill. Is there anything else that needs to be done?
Comment 3•11 years ago
|
||
^Please ignore my patch. I didn't make any changes in mozmill-tests. Only in the mozilla-central repo.
| Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8477915 [details] [diff] [review]
1037443.diff
Hi Anuj,
This is the mozmill-tests repository: http://hg.mozilla.org/qa/mozmill-tests
There are a couple of __force_skip__ statements that will likely need to remain, for example the ones in http://hg.mozilla.org/qa/mozmill-tests/file/03dd84d656d3/firefox/tests/functional/restartTests/testRestartChangeArchitecture because they can _only_ be run under OSX
We want the ones temporarily disabled because of some bug like:
> setupModule.__force_skip__ = "Bug 930509 - Window has been found.";
> teardownModule.__force_skip__ = "Bug 930509 - Window has been found.";
from http://hg.mozilla.org/qa/mozmill-tests/file/03dd84d656d3/firefox/tests/functional/testDownloading/testCloseDownloadManager.js#l76
Attachment #8477915 -
Attachment is obsolete: true
| Reporter | ||
Comment 5•11 years ago
|
||
Hi guys,
both of you showed interest in this bug and I'm torn to make a decision here, so whoever comes first please also assign this bug to yourself, the other please pick a new bug from the list of good first bugs: https://bugzilla.mozilla.org/buglist.cgi?list_id=11059480&classification=Components&classification=Other&status_whiteboard_type=allwordssubstr&query_format=advanced&status_whiteboard=%5Bgood%20first%20bug%5D&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=REOPENED&component=Infrastructure&component=Mozmill&component=Mozmill%20Tests&product=Mozilla%20QA&product=Testing
Flags: needinfo?(ug201210031)
Flags: needinfo?(kamikazeanuj)
Is this correct?
Attachment #8487435 -
Flags: review?(andrei.eftimie)
| Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8487435 [details] [diff] [review]
bug1037443.patch
Review of attachment 8487435 [details] [diff] [review]:
-----------------------------------------------------------------
Hi Manu,
This is a good start, but there are a few more instances where this needs to be removed.
I will assign this bug to you.
I've done a quick search and I've found the following:
> firefox/tests/functional/testDownloading/testOpenDownloadManager.js
> firefox/tests/functional/testPreferences/testRestoreHomepageToDefault.js
> firefox/tests/functional/testPreferences/testSetToCurrentPage.js
> firefox/tests/functional/testPrivateBrowsing/testPrivateDownloadPanel.js
> firefox/tests/functional/testToolbar/testHomeButton.js
> firefox/tests/remote/restartTests/testAddons_RestartlessExtensionWorksAfterRestart/test1.js
> firefox/tests/remote/restartTests/testAddons_RestartlessExtensionWorksAfterRestart/test2.js
> firefox/tests/remote/restartTests/testDiscoveryPane_FeaturedModule/test1.js
> firefox/tests/remote/restartTests/testDiscoveryPane_FirstTimeModule/test1.js
> firefox/tests/remote/restartTests/testDiscoveryPane_installAddonWithEULA/test1.js
> firefox/tests/remote/restartTests/testDiscoveryPane_installCollectionAddon/test1.js
> firefox/tests/remote/restartTests/testDiscoveryPane_installPickOfMonthAddon/test1.js
> firefox/tests/remote/restartTests/testDiscoveryPane_UpAndComingModule/test1.js
> firefox/tests/remote/testDownloading/testDownloadStates.js
Attachment #8487435 -
Flags: review?(andrei.eftimie) → review-
| Reporter | ||
Updated•11 years ago
|
Assignee: nobody → manu.jain13
Status: NEW → ASSIGNED
Flags: needinfo?(ug201210031)
Flags: needinfo?(kamikazeanuj)
I've removed all _force_skip_ statements.
Attachment #8487435 -
Attachment is obsolete: true
Attachment #8489554 -
Flags: review?(andrei.eftimie)
| Reporter | ||
Comment 9•11 years ago
|
||
Thanks Manu for the patch, this indeed works fine, and you got all instances that are being used atm.
I have updated the patch because there was 1 easy to solve conflict (and updated the commit message).
Landed:
https://hg.mozilla.org/qa/mozmill-tests/rev/317bc75d3f99 (default)
Attachment #8489554 -
Attachment is obsolete: true
Attachment #8489554 -
Flags: review?(andrei.eftimie)
Attachment #8489861 -
Flags: review+
Attachment #8489861 -
Flags: checkin+
| Reporter | ||
Comment 10•11 years ago
|
||
I initially thought of not backporting this, but upon further examination it might lead to more work in the future for other patches if they won't apply cleanly because we are touching multiple files here.
So we should probably backport this.
Manu, please try applying the landed patch on the rest of the branches (and check if there are other __force_skip__ statements that would need to be removed - we might have tests on other branches which are not available on default anymore).
Report here if it applies correctly, and for the branches it wont, fix the conflicts, generate a new patch and upload it here.
Thanks!
status-firefox32:
--- → affected
status-firefox33:
--- → affected
status-firefox34:
--- → affected
status-firefox35:
--- → fixed
status-firefox-esr31:
--- → affected
| Assignee | ||
Comment 11•11 years ago
|
||
Andrei, can you tell how to apply the patch on other branches and how to fix the conflicts? Thanks!!
| Reporter | ||
Comment 12•11 years ago
|
||
(In reply to manu.jain13 from comment #11)
> Andrei, can you tell how to apply the patch on other branches and how to fix
> the conflicts? Thanks!!
Surely.
First you should update the repository to have the landed patch locally:
> hg pull -u
Lets check what branches we have:
> hg branches
Lets try 'mozill-aurora' (which is now firefox 34):
> hg checkout mozilla-aurora
Now lets apply the patch on the currently checked-out branch:
(in this case download the final patch I applied since it got a minor change, usually it should be the one you already have)
> hg qimport %path/to/patch%
Or if you have installed qimportbz (from https://hg.mozilla.org/hgcustom/version-control-tools/)
> hg qimport bz:1037443 // this will import the patch directly from this bug
Once we have the patch in our queue try to push it:
> hg qpush
If this works fine, the patch applies cleanly. For this bug I would do another search for __force_skip__ and make sure no other instances that we would like removed exist, run a testrun to make sur everything is fine, and post in this bug the results.
If this won't apply cleanly the conflicts will be saved in .rej files.
You should be able to see them easily with `hg status`. Apply the changes manually to the files, remove the .rej file, run a `hg qrefresh`, export a new patch and upload it here mentioning the branch for which it is.
| Assignee | ||
Comment 13•11 years ago
|
||
Branch- Mozilla aurora patch.
Attachment #8491508 -
Flags: review?(andrei.eftimie)
| Assignee | ||
Comment 14•11 years ago
|
||
Branch- Mozilla esr31 patch.
Attachment #8491720 -
Flags: review?(andrei.eftimie)
| Reporter | ||
Comment 15•11 years ago
|
||
Comment on attachment 8491508 [details] [diff] [review]
bug_1037443_branch=aurora.patch
Review of attachment 8491508 [details] [diff] [review]:
-----------------------------------------------------------------
Landed:
https://hg.mozilla.org/qa/mozmill-tests/rev/5813895813a4 (mozilla-aurora)
https://hg.mozilla.org/qa/mozmill-tests/rev/ef0055fa1d6e (mozilla-beta)
Attachment #8491508 -
Flags: review?(andrei.eftimie)
Attachment #8491508 -
Flags: review+
Attachment #8491508 -
Flags: checkin+
| Reporter | ||
Updated•11 years ago
|
| Assignee | ||
Comment 16•11 years ago
|
||
Andrei, I've also attached esr-31 patch. Can you tell which branch is for firefox32, as there is no branch named firefox32. Thanks!!
| Reporter | ||
Comment 17•11 years ago
|
||
(In reply to Manu Jain from comment #16)
> Andrei, I've also attached esr-31 patch. Can you tell which branch is for
> firefox32, as there is no branch named firefox32. Thanks!!
I saw that Manu, I look into landing that today.
This is how the branches currently correspond to Firefox versions:
> default // 35
> mozilla-aurora // 34
> mozilla-beta // 33
> mozilla-release // 32
> mozilla-esr31 // 31 (esr)
Each 6 weeks a new Firefox version comes out so they all get pushed down (expect the Extended Support Release, which is supported for ~1 year)
There's nothing for you to do here right now, I will look into and land the patch for Release and ESR31, and hopefully we'll all be done :)
| Reporter | ||
Comment 18•11 years ago
|
||
Comment on attachment 8491720 [details] [diff] [review]
bug_1037443_mozilla-esr31.patch
Review of attachment 8491720 [details] [diff] [review]:
-----------------------------------------------------------------
Everything works fine on release and esr31.
Landed:
https://hg.mozilla.org/qa/mozmill-tests/rev/b6e8b90eef1a (mozilla-release)
https://hg.mozilla.org/qa/mozmill-tests/rev/beb218205683 (mozilla-esr31)
Attachment #8491720 -
Flags: review?(andrei.eftimie)
Attachment #8491720 -
Flags: review+
Attachment #8491720 -
Flags: checkin+
| Reporter | ||
Comment 19•11 years ago
|
||
Thanks Manu for the work.
If you wish to help out on anything else, let me know.
Here is a list of simple tasks that are open in relation to Automation and Javascript:
http://www.joshmatthews.net/bugsahoy/?automation=1&js=1&simple=1
This issue is fixed.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 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
•