Closed Bug 679588 Opened 13 years ago Closed 11 years ago

Intermittent browser_select_update.js or browser_select_confirm.js or browser_select_selection.js | Test timed out followed by | Found a after previous test timed out

Categories

(Toolkit :: Add-ons Manager, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla11

People

(Reporter: philor, Assigned: Unfocused)

References

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

No, that's not a typo. I don't know what you're leaving behind, and apparently neither does the harness, because the message is "Found a  after".

http://tbpl.allizom.org/php/getParsedLog.php?id=5994132#error1

TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_update.js | Longer timeout required, waiting longer...  Remaining timeouts: 1
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_update.js | Test timed out
(screenshot)
INFO TEST-END | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_update.js | finished in 3000099ms
TEST-INFO | checking window state
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_update.js | Found a  after previous test timed out
TEST-INFO | unknown test url | before wait for focus -- loaded: complete active window: <no window active> focused window: <no window focused> desired window: ([object ChromeWindow]) chrome://browser/content/browser.xul child window: ([object Window]) about:blank docshell visible: true
Attached image screenshot
The screenshot from the failure, suggests there isn't anything else open
I guess a good first step would be to remove the requestLongerTimeout that I accidentally left in while I was getting this test working *sigh*
http://tbpl.allizom.org/php/getParsedLog.php?id=6003215
Rev3 Fedora 12x64 mozilla-inbound opt test mochitest-other on 2011-08-17 09:16:01 PDT for push e6d269bc23b9

TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Running test 2 (incompatible_test)
TEST-INFO | unknown test url | before wait for focus -- loaded: uninitialized active window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul focused window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul desired window: ([object ChromeWindow]) about:blank child window: ([object ChromeWindow]) about:blank docshell visible: true
TEST-INFO | unknown test url | must wait for load
TEST-INFO | unknown test url | must wait for focus
TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Console message: [JavaScript Warning: "WARN addons.updates: Request failed: 404: Not Found" {file: "resource:///modules/AddonUpdateChecker.jsm" line: 467}]
TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Console message: [JavaScript Warning: "WARN addons.updates: Request failed: 404: Not Found" {file: "resource:///modules/AddonUpdateChecker.jsm" line: 467}]
TEST-INFO | unknown test url | waitForEvent called <type:load, target[object XULDocument]> -- loaded: complete active window: ([object ChromeWindow]) chrome://browser/content/browser.xul focused window: ([object Window]) about:blank desired window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul child window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul docshell visible: true
TEST-INFO | unknown test url | maybe run tests <load:true, focus:false> -- loaded: complete active window: ([object ChromeWindow]) chrome://browser/content/browser.xul focused window: ([object Window]) about:blank desired window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul child window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul docshell visible: true
*** LOG addons.updates: Requesting http://127.0.0.1:8888/extensions-dummy/updateURL
*** LOG addons.updates: Requesting http://127.0.0.1:8888/extensions-dummy/updateURL
TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Console message: LOG addons.updates: Requesting http://127.0.0.1:8888/extensions-dummy/updateURL
TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Console message: LOG addons.updates: Requesting http://127.0.0.1:8888/extensions-dummy/updateURL
*** WARN addons.updates: Request failed: 404: Not Found
*** WARN addons.updates: Request failed: 404: Not Found
TEST-INFO | unknown test url | waitForEvent called <type:focus, target[object XULDocument]> -- loaded: complete active window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul focused window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul desired window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul child window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul docshell visible: true
TEST-INFO | unknown test url | maybe run tests <load:true, focus:true> -- loaded: complete active window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul focused window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul desired window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul child window: ([object ChromeWindow]) chrome://mozapps/content/extensions/selectAddons.xul docshell visible: true
TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Console message: [JavaScript Warning: "WARN addons.updates: Request failed: 404: Not Found" {file: "resource:///modules/AddonUpdateChecker.jsm" line: 467}]
TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Console message: [JavaScript Warning: "WARN addons.updates: Request failed: 404: Not Found" {file: "resource:///modules/AddonUpdateChecker.jsm" line: 467}]
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Test timed out
(screenshot)
INFO TEST-END | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | finished in 30015ms
TEST-INFO | checking window state
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_select_confirm.js | Found a  after previous test timed out
Summary: Intermittent browser_select_update.js | Test timed out followed by | Found a after previous test timed out → Intermittent browser_select_update.js or browser_select_confirm.js | Test timed out followed by | Found a after previous test timed out
Blocks: 596343
http://tbpl.allizom.org/php/getParsedLog.php?id=6105078&full=1
Summary: Intermittent browser_select_update.js or browser_select_confirm.js | Test timed out followed by | Found a after previous test timed out → Intermittent browser_select_update.js or browser_select_confirm.js or browser_select_selection.js | Test timed out followed by | Found a after previous test timed out
Attached patch Patch v1Splinter Review
This fixes it on my Linux box. I think the screenshot is just a red herring. Window focus events on Linux can be a bit slow, so it seems the view is switching before we detect the window gets focus, so we continually wait for the view change.
Assignee: nobody → bmcbride
Status: NEW → ASSIGNED
Attachment #579043 - Flags: review?(dtownsend)
Comment on attachment 579043 [details] [diff] [review]
Patch v1

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

<3
Attachment #579043 - Flags: review?(dtownsend) → review+
https://hg.mozilla.org/integration/fx-team/rev/86dc0aadfbb5
Flags: in-testsuite-
Flags: in-litmus-
Whiteboard: [orange] → [orange][fixed-in-fx-team]
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/86dc0aadfbb5
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [orange][fixed-in-fx-team] → [orange]
Looks like this is not fixed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Matt Brubeck (:mbrubeck) from comment #499)
> Looks like this is not fixed.

It might be - the logs show networks requests to AMO, which is a recent issue and hopefully fixed by bug 709531 (landed a few hours ago). And historically, the timeouts here were only on Linux - but the most recent have been on all OSes, which makes me think it is due to the recent network issues. So hopefully future timeouts will only occur on Aurora/Beta, since they don't have this patch.
fwiw, we constantly getting this errors on all platforms when we are trying to test pdf.js add-on integration test... probably unrelated. (Our test looks fine; bug 714712)

e.g. https://tbpl.mozilla.org/?tree=Try&rev=71e2c985ae4d
Whiteboard: [orange]
Resolving WFM keyword:intermittent-failure bugs last modified >3 months ago, whose whiteboard contains none of:
{random,disabled,marked,fuzzy,todo,fails,failing,annotated,time-bomb,leave open}

There will inevitably be some false positives; for that (and the bugspam) I apologise. Filter on orangewfm.
Status: REOPENED → RESOLVED
Closed: 13 years ago11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: