Closed Bug 915193 Opened 11 years ago Closed 11 years ago

Test failure "The addon is enabled - got 'false'" in /restartTests/testAddons_enableDisableExtension

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect, P1)

defect

Tracking

(firefox24 unaffected, firefox25 unaffected, firefox26 fixed, firefox-esr17 unaffected, firefox-esr24 unaffected)

RESOLVED FIXED
Tracking Status
firefox24 --- unaffected
firefox25 --- unaffected
firefox26 --- fixed
firefox-esr17 --- unaffected
firefox-esr24 --- unaffected

People

(Reporter: mario.garbi, Unassigned)

References

()

Details

(Keywords: regression, Whiteboard: [mozmill-test-failure][fixed by bug 911621])

Attachments

(2 files)

Noticed this happening a couple of times today on all locales and all platforms 
with Nightly 26 26.0a1 (20130911030258).

Sample report:
http://mozmill-daily.blargon7.com/#/functional/report/26d5854914a68aa13b333f2815a5de00
I manage to reproduce this manually and it seems to be a regression.

Steps to reproduce:
1. Open AMO (Ctrl Shit A)
2. Disable any addon (we used Test Extensions as per our tests)
3. Click the 'Restart now button'

Expected results:
- The addon is disabled and it's 'active' attribute is false

Actual results:
- The 'Restat Now' button is still present and the addon enabled
- The 'active' attribute is 'true'

This happens even if we continue to restart the addon by using the 'Restart Now' button.

I will add a skip patch soon.
Kyle, bug 888347 introduced a regression.

Follow the steps to reproduce:

1. Open the latest Nightly build
2. Go to the Addons Manager page (Cmd/Ctrl + Shift + A)
3. Click on Extensions
4. Install an Addon that requires restart (search for 'youtube' and install the first item '1-Click YouTube Video Downloader 2.1.4'
5. Click on 'Restart now'
6. After Firefox Restarts, go back to the Addons Manager / Extensions page, the newly installed addon is Enabled
7. Click on Disable, a message requiring a restart appears, click on Restart Now (or manually restart Firefox)


Expected results: The Addon should be in a disbaled state now
Actual results: The Addon is in the same state, enabled and requiring a restart
Flags: needinfo?(khuey)
Attached patch skip.patchSplinter Review
Skip patch for default
Attachment #803061 - Flags: review?(andrei.eftimie)
Sounds like an addon manager bug was exposed.  Does it use workers (or something that uses workers, like OS.file)?
Flags: needinfo?(khuey)
Blocks: 888347
Comment on attachment 803061 [details] [diff] [review]
skip.patch

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

The skip message could have been more specific, but lets get this skipped.

Landed: http://hg.mozilla.org/qa/mozmill-tests/rev/4fa131f1e7b7 (default)
Attachment #803061 - Flags: review?(andrei.eftimie)
Attachment #803061 - Flags: review+
Attachment #803061 - Flags: checkin+
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][blocked by bug 911820]
No longer depends on: 911820
Comment on attachment 806007 [details] [diff] [review]
unskip_DEFAULT.patch

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

Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/42fa281bdd21 (default)

Thanks!
Attachment #806007 - Flags: review?(andrei.eftimie)
Attachment #806007 - Flags: review?(andreea.matei)
Attachment #806007 - Flags: review+
Fixed by bug 911621.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-test-failure][blocked by bug 911820] → [mozmill-test-failure][fixed by bug 911621]
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: