Closed Bug 924797 Opened 12 years ago Closed 12 years ago

Test failure "Shockwave Flash state is Disabled in about:plugins - got 'false'" in testAddons/testPluginDisableAffectsAboutPlugins.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

All
Linux
defect
Not set
normal

Tracking

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

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

People

(Reporter: cosmin-malutan, Assigned: cosmin-malutan)

References

()

Details

(Whiteboard: [mozmill-test-failure])

Attachments

(1 file)

This failure happened today on as and ko locales with Beta on Ubuntu 12.04(x86) and 13.04(x64). It is reproducible and it seems that after we disable the plugins, when we check the state on addonsManager they are disabled and on about:plugins they are enabled. It did't reproduces on en-US. http://mozmill-release.blargon7.com/#/functional/report/6d6f6a58b02eeffc06eafa8bea6dacdc http://mozmill-release.blargon7.com/#/functional/report/6d6f6a58b02eeffc06eafa8bea6c4233
It fails on some locales because when testing plugin state in "about:plugins" we check if dtd string "state_enabled" is contained in the plugin state. On some languages the "disabled" word is formed from "enabled" plus a negation prefix (something like "not-enabled"), so when we check if state contains "enabled" it will return true on both enabled and disabled state. I have a fix patch for this, but I want to test it properly first on more locales, so I will return with the fix patch soon.
Assignee: nobody → cosmin.malutan
Comment on attachment 814896 [details] [diff] [review] patch_v1.0 Review of attachment 814896 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, should be more reliable. Landed down to beta: http://hg.mozilla.org/qa/mozmill-tests/rev/f03f4d907d3e (default) http://hg.mozilla.org/qa/mozmill-tests/rev/30a1e2535683 (mozilla-aurora) http://hg.mozilla.org/qa/mozmill-tests/rev/1604770a5d84 (mozilla-beta) I am assuming lower branches are affected as well, but please check if they are and if this applies cleanly on them as well.
Attachment #814896 - Flags: review?(andrei.eftimie)
Attachment #814896 - Flags: review?(andreea.matei)
Attachment #814896 - Flags: review+
Attachment #814896 - Flags: checkin+
(In reply to Andrei Eftimie from comment #3) > Landed down to beta: > http://hg.mozilla.org/qa/mozmill-tests/rev/f03f4d907d3e (default) > http://hg.mozilla.org/qa/mozmill-tests/rev/30a1e2535683 (mozilla-aurora) > http://hg.mozilla.org/qa/mozmill-tests/rev/1604770a5d84 (mozilla-beta) Why are we landing fixes on aurora and beta as well? This can hurt us a lot as mentioned a couple of times when especially beta starts to fail now. We really have to be cautious about landings and get green results on default first.
Flags: needinfo?(andrei.eftimie)
As discussed on IRC, I'll no longer land on lower branches until we have green runs in CI on default first. If the failure is on localised builds against which we don't run daily testruns, we should trigger them manually on those specific locales.
Flags: needinfo?(andrei.eftimie)
Esr17 is unaffected as it handles this check differently (it checks if addon is on about:plugins and not if it has an enabled/disabled state). Here are the reports from esr with an affected locale: http://mozmill-crowd.blargon7.com/#/functional/report/6d6f6a58b02eeffc06eafa8beaed59e0 http://mozmill-crowd.blargon7.com/#/functional/report/6d6f6a58b02eeffc06eafa8beaecfb78 http://mozmill-crowd.blargon7.com/#/functional/report/6d6f6a58b02eeffc06eafa8beaed0d83
No failures on CI testruns, lets get this on the remaining affected branches: http://hg.mozilla.org/qa/mozmill-tests/rev/aa510e02bfd9 (mozilla-release) http://hg.mozilla.org/qa/mozmill-tests/rev/f7bec5889609 (mozilla-esr24)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
I've noticed this failure on ESR17 on a local run: http://mozmill-crowd.blargon7.com/#/functional/report/ec449c026814fd64783d738c02983391 Cosmin, could you please check and confirm if it is the same issue, or if it is something else we might want to fix it in another bug. The failure message is the same, but in comment 7 you state that ESR17 is not affected.
Flags: needinfo?(cosmin.malutan)
Hi Andrei, it's not the same issue, as I said on comment 7, in Esr17 we check if the plugin is listed in the about:plugins page and not if there is an property "disabled" in plugins content. So being a different issue I raised bug 927361 for this.
Flags: needinfo?(cosmin.malutan)
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: