Closed
Bug 599204
Opened 14 years ago
Closed 14 years ago
intermittent test timeout in test-window-utils
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b5
People
(Reporter: warner, Assigned: warner)
References
Details
I'm seeing an intermittent test timeout when running current jetpack-sdk trunk against a firefox-3.6.10 on my OS-X box. Running "cfx testall" gets a single failure:
error: TEST FAILED: test-window-utils.testActiveWindow (timed out)
In bug 598525, the neighboring test-windows.js was changed to skip the test when running against 3.6.* . Maybe test-window-utils.js needs a similar change?
Assignee | ||
Comment 2•14 years ago
|
||
oh, Atul pointed out that this might occur when I switched windows during the test (like, when I switched back to the shell in which I ran 'cfx testall' to watch its progress scroll by). Maybe firefox is detecting the unfocus transition and it interferes with whatever the test is checking.
A casual test (N=2) vaguely seems to support this.
Comment 3•14 years ago
|
||
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.
To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
Comment 4•14 years ago
|
||
The tests don't work at all on Firefox 3.6 these days. Brian: can you reproduce on 4.0 builds?
Comment 5•14 years ago
|
||
This test is very very close to the test failing in bug 614079 that is known to fail really often on linux.
And yes, user interaction during test execution *is going* to make the test fails!
Comment 7•14 years ago
|
||
We can either fix the test or disable it, but we have to squash all intermittent test failures so Firefox/Gecko developers can rely on our automated test infrastructure to tell them when they do something that breaks the SDK.
Severity: normal → blocker
Priority: -- → P1
Target Milestone: --- → 1.0b5
Updated•14 years ago
|
Assignee: nobody → warner-bugzilla
Assignee | ||
Comment 9•14 years ago
|
||
I just spent 15 minutes trying to reproduce this against FF4.0.1 on OS-X, both letting the test run undisturbed (the recommended way) and also selecting the new browser window while tests proceed (certainly not recommended, but possibly a trigger for this problem), and also with a couple of "while 1: pass" CPU-burners running in the background. I was unable to trigger the failure.
So I'm going to close this one as FIXED, because I'm pretty sure it was happening back in september, and it doesn't seem to be happening now. It might have fixed by something in the SDK, or because we're no longer testing it against FF3.6, or because I've learned to not touch my computer while the tests are running: not sure which, but I guess it doesn't matter too much.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•