Closed Bug 786252 Opened 12 years ago Closed 10 years ago

"Profile already in use" message after /restartTests/testMenu_quitApplication causes profile to remain

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(firefox27 fixed, firefox28 fixed, firefox29 fixed, firefox30 fixed, firefox-esr24 fixed)

RESOLVED FIXED
Tracking Status
firefox27 --- fixed
firefox28 --- fixed
firefox29 --- fixed
firefox30 --- fixed
firefox-esr24 --- fixed

People

(Reporter: AlexLakatos, Assigned: AndreeaMatei)

References

Details

(Whiteboard: [mozmill-test-failure][needs-mozmill-2.0])

Attachments

(1 file, 2 obsolete files)

We should skip this until bug 785602 is fixed or we move on to Mozmill 2.0
Attached patch patch v1.0 (obsolete) — Splinter Review
Skipping the test in test1.js and in manifest.ini
Assignee: nobody → alex.lakatos
Status: NEW → ASSIGNED
Attachment #655982 - Flags: review?(hskupin)
Attachment #655982 - Flags: review?(dave.hunt)
This is not a failure in general but the framework behaves badly and so it affects the whole testrun because the used profile for this test will stay around and is not getting deleted. So marking as P1.
Priority: -- → P1
Summary: Skip /restartTests/testMenu_quitApplication because of mozmill bug with restart of application → "Profile already in use" message after /restartTests/testMenu_quitApplication causes profile to remain
Whiteboard: [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped]
Comment on attachment 655982 [details] [diff] [review]
patch v1.0

Review of attachment 655982 [details] [diff] [review]:
-----------------------------------------------------------------

::: tests/functional/restartTests/manifest.ini
@@ +9,5 @@
>  [include:testAddons_uninstallExtension/manifest.ini]
>  [include:testAddons_uninstallTheme/manifest.ini]
>  [include:testDefaultBookmarks/manifest.ini]
>  [include:testMenu_quitApplication/manifest.ini]
> +disabled = Bug 786252 - mozmill bug with restart of application

I have updated the summary of the bug so it says why we have to disable this test. Please update to it is more descriptive. The current summary will not tell you anything why it was necessary.

::: tests/functional/restartTests/testMenu_quitApplication/test1.js
@@ +17,5 @@
> +// Bug 786252 - Skip /restartTests/testMenu_quitApplication
> +// because of mozmill bug with restart of application
> +setupModule.__force_skip__ = "Bug 786252 - Skip /restartTests/testMenu_quitApplication " +
> +                             "because of mozmill bug with restart of application";
> +

Same here and also remove the comment. It's just duplication of content. There is also no need to reference the test name in the skip string. Further put this at the very end of the test.
Attachment #655982 - Flags: review?(hskupin)
Attachment #655982 - Flags: review?(dave.hunt)
Attachment #655982 - Flags: review-
Attached patch patch v2.0 (obsolete) — Splinter Review
(In reply to Henrik Skupin (:whimboo) from comment #3)
> Same here and also remove the comment. It's just duplication of content.
> There is also no need to reference the test name in the skip string. Further
> put this at the very end of the test.

We're not being consistent here. Every test has the comment although just on this one the skip block is not at the very end. We should file a new bug for skip block cleanup, if our policy changed, for consistency.
http://hg.mozilla.org/qa/mozmill-tests/file/default/tests/functional/testSecurity/testSafeBrowsingWarningPages.js
Attachment #655982 - Attachment is obsolete: true
Attachment #656381 - Flags: review?(hskupin)
Whiteboard: [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped] → [mozmill-test-failure][needs-mozmill-2.0]
Comment on attachment 656381 [details] [diff] [review]
patch v2.0

Review of attachment 656381 [details] [diff] [review]:
-----------------------------------------------------------------

(In reply to Alex Lakatos[:AlexLakatos] from comment #4)
> We're not being consistent here. Every test has the comment although just on
> this one the skip block is not at the very end. We should file a new bug for
> skip block cleanup, if our policy changed, for consistency.

I know that. But I don't see a reason why we have to waste our time on those changes. These are polish things and we already have started to avoid to add those unnecessary duplicated content.

::: tests/functional/restartTests/testMenu_quitApplication/test1.js
@@ +19,5 @@
>   */
>  testQuitApplication.meta = {moztrap_case: 333};
> +
> +setupModule.__force_skip__ = "Bug 786252 - 'Profile already in use' message after " +
> +                             "/restartTests/testMenu_quitApplication causes profile to remain";

Please use the same message as in manifest.ini.
Attachment #656381 - Flags: review?(hskupin) → review-
(In reply to Henrik Skupin (:whimboo) from comment #5)
> I know that. But I don't see a reason why we have to waste our time on those
> changes. These are polish things and we already have started to avoid to add
> those unnecessary duplicated content.
I'm ok with leaving things like this for the moment. But I'm looking at things from the point of view of a new contributor: It's hard to pick things up if there is no consistency, no immediate rule that pops out from our code. Maybe we should consider making this a P3 or good-first-bug? I'm ok with mentoring it as well if so.
Attachment #656381 - Attachment is obsolete: true
Attachment #656447 - Flags: review?(hskupin)
Attachment #656447 - Flags: review?(hskupin) → review+
Comment on attachment 656447 [details] [diff] [review]
skip patch v3 [checked-in]

Skipped test:
http://hg.mozilla.org/qa/mozmill-tests/rev/d20382729bdd (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/a692a079e8cb (aurora)
Attachment #656447 - Attachment description: patch v3.0 → skip patch v3 [checked-in]
Whiteboard: [mozmill-test-failure][needs-mozmill-2.0] → [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped]
Assignee: alex.lakatos.dev → nobody
Status: ASSIGNED → NEW
Whiteboard: [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped] → [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped][sprint2013-29]
Clearing priority given that we are blocked on the Mozmill 2.0 release.
Priority: P1 → P5
Priority: P5 → --
Whiteboard: [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped][sprint2013-29] → [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped]
Aurora was reenabled due to the merge.

http://hg.mozilla.org/qa/mozmill-tests/rev/60a364e53a4b (beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/ae8c0d3024aa (release)
http://hg.mozilla.org/qa/mozmill-tests/rev/223aa4873b0f (esr24)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-test-failure][needs-mozmill-2.0][mozmill-test-skipped] → [mozmill-test-failure][needs-mozmill-2.0]
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: