Closed
Bug 1127939
Opened 10 years ago
Closed 10 years ago
Intermittent failing test, TEST-UNEXPECTED-FAIL | apps/search/test/marionette/suggestions_test.js | Search - Suggestions Test Test suggestions
Categories
(Firefox OS Graveyard :: Gaia::Search, defect)
Tracking
(b2g-v2.2 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v2.2 | --- | fixed |
People
(Reporter: kgrandon, Assigned: daleharvey)
References
Details
(Keywords: intermittent-failure, Whiteboard: [systemsfe])
Attachments
(3 files)
Error: timeout exceeded!
02:50:10 INFO - at Object.Client.waitForSync (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:693:16)
02:50:10 INFO - at Object.Client.waitFor (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:661:60)
02:50:10 INFO - at Context.<anonymous> (/builds/slave/test/gaia/apps/search/test/marionette/suggestions_test.js:51:12)
02:50:10 INFO - at callFn (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:223:21)
02:50:10 INFO - at Test.Runnable.run (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:216:7)
02:50:10 INFO - at Runner.runTest (/builds/slave/test/gaia/node_modules/mocha/lib/runner.js:373:10)
02:50:10 INFO - at /builds/slave/test/gaia/node_modules/mocha/lib/runner.js:451:12
02:50:10 INFO - at next (/builds/slave/test/gaia/node_modules/mocha/lib/runner.js:298:14)
02:50:10 INFO - at /builds/slave/test/gaia/node_modules/mocha/lib/runner.js:308:7
02:50:10 INFO - at next (/builds/slave/test/gaia/node_modules/mocha/lib/runner.js:246:23)
02:50:10 INFO - at /builds/slave/test/gaia/node_modules/mocha/lib/runner.js:270:7
02:50:10 INFO - at done (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:185:5)
02:50:10 INFO - at callFn (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:228:7)
02:50:10 INFO - at Hook.Runnable.run (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:216:7)
02:50:10 INFO - at next (/builds/slave/test/gaia/node_modules/mocha/lib/runner.js:258:10)
02:50:10 INFO - at /builds/slave/test/gaia/node_modules/mocha/lib/runner.js:270:7
02:50:10 INFO - at done (/builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:185:5)
02:50:10 INFO - at /builds/slave/test/gaia/node_modules/mocha/lib/runnable.js:199:9
02:50:10 INFO - at Object.executeHook (/builds/slave/test/gaia/node_modules/marionette-client/lib/marionette/client.js:371:18)
02:50:10 INFO - at process._tickCallback (node.js:415:13)
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Keywords: intermittent-failure
Reporter | ||
Comment 2•10 years ago
|
||
This is failing fairly frequently, so disabling for now: https://github.com/mozilla-b2g/gaia/commit/b33a1afb538e8c7e12f6fb792c454da34f9f5b76
Dale - can you take a look if you have a minute?
Flags: needinfo?(dale)
Keywords: leave-open
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 5•10 years ago
|
||
Doh sorry, taking a look
Assignee: nobody → dale
Flags: needinfo?(dale)
Assignee | ||
Comment 6•10 years ago
|
||
The screenshot and logs suggested that the search app couldnt load some of its own resources, havent been able to reproduce in a while and have 10 passing runs @ https://treeherder.mozilla.org/#/jobs?repo=gaia-try&revision=ba2019828880
Attachment #8559823 -
Flags: review?(kgrandon)
Attachment #8559823 -
Flags: review?(bfrancis)
Reporter | ||
Comment 7•10 years ago
|
||
Comment on attachment 8559823 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/27835
Hmm, I really hope we're not masking over this with the new automatic retries, but sounds good. Let's try landing it for now.
Attachment #8559823 -
Flags: review?(kgrandon)
Attachment #8559823 -
Flags: review?(bfrancis)
Attachment #8559823 -
Flags: review+
Reporter | ||
Comment 8•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 14•10 years ago
|
||
Appears this is still happening. You can see in the log it retries the same test several times. This means likely there is some obscure platform issue here, or we might have a bug with our build system/profile/mozsettings =/
Log: http://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/b2g-inbound-linux64_gecko/1423191863/b2g-inbound_ubuntu64_vm-b2gdt_test-gaia-js-integration-3-bm54-tests1-linux64-build122.txt.gz
Backout: https://github.com/mozilla-b2g/gaia/commit/f6b79487eb188e7a818d578a23c54b10b684b6d3
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 17•10 years ago
|
||
Ok figured this one out by sprinking random long timeouts, trying to come up with a fix
Assignee | ||
Comment 18•10 years ago
|
||
Kevin, cant quite figure out how to test this reliably, any idea?
home.waitForLaunch();
home.focusRocketBar();
rocketbar.enterText('sometext');
search.goToResults();
// Ensure we get 2 results (hardcoded in the provider results)
client.waitFor(function() {
return client.findElements(search.Selectors.suggestions).length === 2;
});
The issue is the SearchProvider constructor is async, it reads xhr / settings before being set, if the search is done before its set it returns empty results, I thought I could put the rocketbar.enterText('sometext'); inside the waitFor loop, but it exits on the first loop
Flags: needinfo?(kgrandon)
Reporter | ||
Comment 19•10 years ago
|
||
I think I would prefer to refactor the SearchProvider to ensure that we search after fetching the async settings - otherwise it may be possible to miss a search from a user? This is unlikely though..
Another solution would be to add some hook to the UI so we know we're ready.
I would prefer to refactor the provider a bit though so we store the searched terms, and search them after the constructor async init is done.
Flags: needinfo?(kgrandon)
Comment 20•10 years ago
|
||
Assignee | ||
Comment 21•10 years ago
|
||
Comment on attachment 8560529 [details] [review]
[PullReq] daleharvey:1127939 to mozilla-b2g:master
Well that was obvious, sorry should have figured that, will run a bunch on try and ensure there arent too many restarts before landing
Attachment #8560529 -
Flags: review?(kgrandon)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 24•10 years ago
|
||
Comment on attachment 8560529 [details] [review]
[PullReq] daleharvey:1127939 to mozilla-b2g:master
Looks good, I think we have an extraneous `resolve`. Fix that and I think we can land. Thanks!
Attachment #8560529 -
Flags: review?(kgrandon) → review+
Assignee | ||
Comment 25•10 years ago
|
||
Removed the extra resolve, landed - https://github.com/mozilla-b2g/gaia/commit/d93a7f38449c7849e7724fbcc6f2557813b11248, thanks
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 26•10 years ago
|
||
Wanna uplift to make sure 2.2 is green too
blocking-b2g: --- → 2.2?
Assignee | ||
Comment 27•10 years ago
|
||
I cant set feature-b2b-2.2, can you, this isnt a blocking bug so much as part of feature dev
Flags: needinfo?(anygregor)
Comment 28•10 years ago
|
||
This is not blocking. Just request uplift approval.
blocking-b2g: 2.2? → ---
Flags: needinfo?(anygregor)
Updated•10 years ago
|
Whiteboard: [systemsfe]
Assignee | ||
Comment 29•10 years ago
|
||
Comment on attachment 8560529 [details] [review]
[PullReq] daleharvey:1127939 to mozilla-b2g:master
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Regressed by https://bugzilla.mozilla.org/show_bug.cgi?id=1098494 feature dev
[User impact] if declined: Can impact ability to test (and not regress) the rest of feature dev on the branch
[Testing completed]: This patch increases the reliability of the tests
[Risk to taking this patch] (and alternatives if risky): little risk
[String changes made]: None
Attachment #8560529 -
Flags: approval-gaia-v2.2?
Updated•10 years ago
|
Attachment #8560529 -
Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
Assignee | ||
Comment 30•10 years ago
|
||
Pushed to 2.2 in https://github.com/mozilla-b2g/gaia/commit/37521e91d4356acc18fca384db9b6c7e16fce318
Green try run @ https://treeherder.mozilla.org/#/jobs?repo=gaia-try&revision=4a6c9879b64e
status-b2g-v2.2:
--- → fixed
Comment 31•10 years ago
|
||
Due to nature of STR we are unable to verify on our end.
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-]
Flags: needinfo?(ktucker)
Updated•10 years ago
|
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-] → [QAnalyst-Triage+][QAnalyst-verify-]
Flags: needinfo?(ktucker)
Comment 32•7 years ago
|
||
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•